ARTEMIS
FlushFormat.H
Go to the documentation of this file.
1 #ifndef WARPX_FLUSHFORMAT_H_
2 #define WARPX_FLUSHFORMAT_H_
3 
4 #include "FlushFormat_fwd.H"
5 
8 #include "WarpX.H"
9 
11 {
12 public:
14  virtual void WriteToFile (
15  const amrex::Vector<std::string> varnames,
18  const amrex::Vector<int> iteration, const double time,
19  const amrex::Vector<ParticleDiag>& particle_diags, int nlev,
20  const std::string prefix, const int file_min_digits,
21  bool plot_raw_fields,
22  bool plot_raw_fields_guards,
23  const bool use_pinned_pc = false,
24  bool isBTD = false, int snapshotID = -1,
25  int bufferID = 1, int numBuffers = 1,
26  const amrex::Geometry& full_BTD_snapshot = amrex::Geometry(),
27  bool isLastBTDFlush = false,
28  const amrex::Vector<int>& totalParticlesFlushedAlready = amrex::Vector<int>() ) const = 0;
29 
30  virtual ~FlushFormat() {}
31 };
32 
33 #endif // WARPX_FLUSHFORMAT_H_
Definition: FlushFormat.H:11
virtual ~FlushFormat()
Definition: FlushFormat.H:30
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, const int file_min_digits, bool plot_raw_fields, bool plot_raw_fields_guards, const bool use_pinned_pc=false, bool isBTD=false, int snapshotID=-1, int bufferID=1, int numBuffers=1, const amrex::Geometry &full_BTD_snapshot=amrex::Geometry(), bool isLastBTDFlush=false, const amrex::Vector< int > &totalParticlesFlushedAlready=amrex::Vector< int >()) const =0