WarpX
MultiDiagnostics.H
Go to the documentation of this file.
1 #ifndef WARPX_MULTIDIAGNOSTICS_H_
2 #define WARPX_MULTIDIAGNOSTICS_H_
3 
4 #include "Diagnostics.H"
5 
6 #include "MultiDiagnostics_fwd.H"
7 
8 #include <AMReX_Vector.H>
9 
10 #include <memory>
11 #include <string>
12 #include <vector>
13 
16 
21 {
22 public:
25  void ReadParameters ();
27  void InitData ();
29  void FilterComputePackFlush (int step, bool force_flush=false, bool BackTransform=false);
32  void FilterComputePackFlushLastTimestep (int step);
37  void InitializeFieldFunctors (int lev);
39  void NewIteration ();
40 private:
43  int ndiags = 0;
44  std::vector<std::string> diags_names;
46  std::vector<DiagTypes> diags_types;
47 };
48 
49 #endif // WARPX_MULTIDIAGNOSTICS_H_
std::vector< DiagTypes > diags_types
Definition: MultiDiagnostics.H:46
std::vector< std::string > diags_names
Definition: MultiDiagnostics.H:44
This class contains a vector of all diagnostics in the simulation.
Definition: MultiDiagnostics.H:20
DiagTypes
Definition: MultiDiagnostics.H:15
amrex::Vector< std::unique_ptr< Diagnostics > > alldiags
Definition: MultiDiagnostics.H:42