WarpX
MultiDiagnostics.H
Go to the documentation of this file.
1 #ifndef WARPX_MULTIDIAGNOSTICS_H_
2 #define WARPX_MULTIDIAGNOSTICS_H_
3 
4 #include "FullDiagnostics.H"
5 #include "BTDiagnostics.H"
6 
8 enum struct DiagTypes {Full, BackTransformed};
9 
14 {
15 public:
18  void ReadParameters ();
20  void InitData ();
22  void FilterComputePackFlush (int step, bool force_flush=false);
27  void InitializeFieldFunctors (int lev);
29  void NewIteration ();
30 private:
32  amrex::Vector<std::unique_ptr<Diagnostics> > alldiags;
33  int ndiags = 0;
34  std::vector<std::string> diags_names;
36  std::vector<DiagTypes> diags_types;
37 };
38 
39 #endif // WARPX_MULTIDIAGNOSTICS_H_
std::vector< DiagTypes > diags_types
Definition: MultiDiagnostics.H:36
std::vector< std::string > diags_names
Definition: MultiDiagnostics.H:34
This class contains a vector of all diagnostics in the simulation.
Definition: MultiDiagnostics.H:13
DiagTypes
Definition: MultiDiagnostics.H:8
amrex::Vector< std::unique_ptr< Diagnostics > > alldiags
Definition: MultiDiagnostics.H:32