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
10 FullDiagnostics final : public Diagnostics
11 {
12 public:
13  FullDiagnostics (int i, std::string name);
14 private:
16  void ReadParameters ();
20  bool m_plot_raw_fields = false;
22  bool m_plot_raw_fields_guards = false;
24  bool m_dump_rz_modes = false;
28  bool m_solver_deposits_current = true;
30  void Flush (int i_buffer, bool /* force_flush */) override;
32  void FlushRaw ();
39  bool DoComputeAndPack (int step, bool force_flush=false) override;
46  bool DoDump (int step, int i_buffer, bool force_flush=false) override;
51  void AddRZModesToOutputNames (const std::string& field, int ncomp);
59  void InitializeBufferData ( int i_buffer, int lev, bool restart=false ) override;
63  void InitializeFieldFunctorsRZopenPMD (int lev) override;
68  void AddRZModesToDiags (int lev);
72  void InitializeFieldFunctors (int lev) override;
73  void InitializeParticleBuffer () override;
75  void PrepareFieldDataForOutput () override;
77  void PrepareParticleDataForOutput() override {}
83  void MovingWindowAndGalileanDomainShift (int step) override;
87  void BackwardCompatibility ();
88 };
89 
90 #endif // WARPX_FULLDIAGNOSTICS_H_
base class for diagnostics. Contains main routines to filter, compute and flush diagnostics.
Definition: Diagnostics.H:31
Definition: FullDiagnostics.H:11
utils::parser::IntervalsParser m_intervals
Definition: FullDiagnostics.H:18
void PrepareParticleDataForOutput() override
Definition: FullDiagnostics.H:77
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