ARTEMIS
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;
26  void Flush (int i_buffer) override;
28  void FlushRaw ();
35  bool DoComputeAndPack (int step, bool force_flush=false) override;
42  bool DoDump (int step, int i_buffer, bool force_flush=false) override;
47  void AddRZModesToOutputNames (const std::string& field, int ncomp);
55  void InitializeBufferData ( int i_buffer, int lev, bool restart=false ) override;
59  void InitializeFieldFunctorsRZopenPMD (int lev) override;
64  void AddRZModesToDiags (int lev);
68  void InitializeFieldFunctors (int lev) override;
69  void InitializeParticleBuffer () override;
71  void PrepareFieldDataForOutput () override;
73  void PrepareParticleDataForOutput() override {}
79  void MovingWindowAndGalileanDomainShift (int step) override;
83  void BackwardCompatibility ();
84 };
85 
86 #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:73
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
string name
Definition: stencil.py:452
string field
Definition: video_yt.py:31