WarpX
FlushFormatCheckpoint.H
Go to the documentation of this file.
1 #ifndef WARPX_FLUSHFORMATCHECKPOINT_H_
2 #define WARPX_FLUSHFORMATCHECKPOINT_H_
3 
4 #include "FlushFormatPlotfile.H"
5 
7 {
9  virtual void WriteToFile (
10  const amrex::Vector<std::string> varnames,
11  const amrex::Vector<amrex::MultiFab>& mf,
12  amrex::Vector<amrex::Geometry>& geom,
13  const amrex::Vector<int> iteration, const double time,
14  const amrex::Vector<ParticleDiag>& particle_diags, int nlev, const std::string prefix,
15  bool plot_raw_fields,
16  bool plot_raw_fields_guards,
17  bool plot_raw_rho, bool plot_raw_F) const override final;
18 
19  void CheckpointParticles(const std::string& dir,
20  const amrex::Vector<ParticleDiag>& particle_diags) const;
21 };
22 
23 #endif // WARPX_FLUSHFORMATCHECKPOINT_H_
void CheckpointParticles(const std::string &dir, const amrex::Vector< ParticleDiag > &particle_diags) const
Definition: FlushFormatCheckpoint.cpp:105
This class aims at dumping diags data to disk using the AMReX Plotfile format. In particular...
Definition: FlushFormatPlotfile.H:12
Definition: FlushFormatCheckpoint.H:6
virtual void WriteToFile(const amrex::Vector< std::string > varnames, const amrex::Vector< amrex::MultiFab > &mf, amrex::Vector< amrex::Geometry > &geom, const amrex::Vector< int > iteration, const double time, const amrex::Vector< ParticleDiag > &particle_diags, int nlev, const std::string prefix, bool plot_raw_fields, bool plot_raw_fields_guards, bool plot_raw_rho, bool plot_raw_F) const override final
Definition: FlushFormatCheckpoint.cpp:15