WarpX
ParticleExtrema.H
Go to the documentation of this file.
1 /* Copyright 2019-2020 Yinjian Zhao
2  *
3  * This file is part of WarpX.
4  *
5  * License: BSD-3-Clause-LBNL
6  */
7 
8 #ifndef WARPX_DIAGNOSTICS_REDUCEDDIAGS_PARTICLEEXTREMA_H_
9 #define WARPX_DIAGNOSTICS_REDUCEDDIAGS_PARTICLEEXTREMA_H_
10 
11 #include "ReducedDiags.H"
12 
13 #include <map>
14 #include <string>
15 
21 {
22 public:
23 
28  ParticleExtrema(const std::string& rd_name);
29 
31  std::string m_species_name;
32 
38  void ComputeDiags(int step) final;
39 
40 private:
43  {
44  std::string header;
45  int idx;
46  };
47 
49  std::map<std::string, aux_header_index> m_headers_indices;
50 };
51 
52 #endif
Definition: ParticleExtrema.H:21
void ComputeDiags(int step) final
Definition: ParticleExtrema.cpp:153
std::string m_species_name
name of species
Definition: ParticleExtrema.H:31
std::map< std::string, aux_header_index > m_headers_indices
map to store header texts and indices of the reduced diagnostics
Definition: ParticleExtrema.H:49
ParticleExtrema(const std::string &rd_name)
Definition: ParticleExtrema.cpp:58
Definition: ReducedDiags.H:24
auxiliary structure to store headers and indices of the reduced diagnostics
Definition: ParticleExtrema.H:43
std::string header
Definition: ParticleExtrema.H:44
int idx
Definition: ParticleExtrema.H:45