diff options
Diffstat (limited to 'Source/Diagnostics/ReducedDiags/ParticleExtrema.H')
-rw-r--r-- | Source/Diagnostics/ReducedDiags/ParticleExtrema.H | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/Diagnostics/ReducedDiags/ParticleExtrema.H b/Source/Diagnostics/ReducedDiags/ParticleExtrema.H index e58138dd8..b6bfb7c5e 100644 --- a/Source/Diagnostics/ReducedDiags/ParticleExtrema.H +++ b/Source/Diagnostics/ReducedDiags/ParticleExtrema.H @@ -10,6 +10,7 @@ #include "ReducedDiags.H" +#include <map> #include <string> /** @@ -36,6 +37,16 @@ public: */ void ComputeDiags(int step) override final; +private: + /// auxiliary structure to store headers and indices of the reduced diagnostics + struct aux_header_index + { + std::string header; + int idx; + }; + + /// map to store header texts and indices of the reduced diagnostics + std::map<std::string, aux_header_index> m_headers_indices; }; #endif |