WarpX
FullDiagnostics.H
Go to the documentation of this file.
1 #ifndef WARPX_FULLDIAGNOSTICS_H_
2 #define WARPX_FULLDIAGNOSTICS_H_
3 
4 #include "Diagnostics.H"
6 
7 #include <string>
8 
9 class FullDiagnostics final : public Diagnostics
10 {
11 public:
12  FullDiagnostics (int i, const std::string& name);
13 private:
15  void ReadParameters ();
19  bool m_plot_raw_fields = false;
23  bool m_dump_rz_modes = false;
29  void Flush (int i_buffer, bool /* force_flush */) override;
31  void FlushRaw ();
38  bool DoComputeAndPack (int step, bool force_flush=false) override;
45  bool DoDump (int step, int i_buffer, bool force_flush=false) override;
50  void AddRZModesToOutputNames (const std::string& field, int ncomp);
58  void InitializeBufferData ( int i_buffer, int lev, bool restart=false ) override;
62  void InitializeFieldFunctorsRZopenPMD (int lev) override;
67  void AddRZModesToDiags (int lev);
71  void InitializeFieldFunctors (int lev) override;
72  void InitializeParticleBuffer () override;
74  void PrepareFieldDataForOutput () override;
76  void PrepareParticleDataForOutput() override {}
82  void MovingWindowAndGalileanDomainShift (int step) override;
86  void BackwardCompatibility ();
87 };
88 
89 #endif // WARPX_FULLDIAGNOSTICS_H_
base class for diagnostics. Contains main routines to filter, compute and flush diagnostics.
Definition: Diagnostics.H:31
Definition: FullDiagnostics.H:10
void MovingWindowAndGalileanDomainShift(int step) override
Definition: FullDiagnostics.cpp:780
void BackwardCompatibility()
Definition: FullDiagnostics.cpp:120
bool m_plot_raw_fields_guards
Definition: FullDiagnostics.H:21
void InitializeFieldFunctors(int lev) override
Definition: FullDiagnostics.cpp:622
void FlushRaw()
Definition: FullDiagnostics.cpp:148
bool DoDump(int step, int i_buffer, bool force_flush=false) override
Definition: FullDiagnostics.cpp:152
void InitializeFieldFunctorsRZopenPMD(int lev) override
Definition: FullDiagnostics.cpp:171
void InitializeBufferData(int i_buffer, int lev, bool restart=false) override
Definition: FullDiagnostics.cpp:499
FullDiagnostics(int i, const std::string &name)
Definition: FullDiagnostics.cpp:47
void ReadParameters()
Definition: FullDiagnostics.cpp:84
bool m_plot_raw_fields
Definition: FullDiagnostics.H:19
utils::parser::IntervalsParser m_intervals
Definition: FullDiagnostics.H:17
void Flush(int i_buffer, bool) override
Definition: FullDiagnostics.cpp:132
void PrepareParticleDataForOutput() override
Definition: FullDiagnostics.H:76
bool DoComputeAndPack(int step, bool force_flush=false) override
Definition: FullDiagnostics.cpp:163
bool m_solver_deposits_current
Definition: FullDiagnostics.H:27
void AddRZModesToOutputNames(const std::string &field, int ncomp)
Definition: FullDiagnostics.cpp:483
bool m_dump_rz_modes
Definition: FullDiagnostics.H:23
void AddRZModesToDiags(int lev)
Definition: FullDiagnostics.cpp:383
void PrepareFieldDataForOutput() override
Definition: FullDiagnostics.cpp:756
void InitializeParticleBuffer() override
Definition: FullDiagnostics.cpp:58
This class is a parser for multiple slices of the form x,y,z,... where x, y and z are slices of the f...
Definition: IntervalsParser.H:103
i
Definition: check_interp_points_and_weights.py:174
name
Definition: run_automated.py:229
string field
Definition: video_yt.py:31