WarpX
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 
10 {
11 public:
13  virtual void WriteToFile (
14  const amrex::Vector<std::string>& varnames,
17  amrex::Vector<int> iteration, double time,
18  const amrex::Vector<ParticleDiag>& particle_diags, int nlev,
19  std::string prefix, int file_min_digits,
20  bool plot_raw_fields,
21  bool plot_raw_fields_guards,
22  bool use_pinned_pc = false,
23  bool isBTD = false, int snapshotID = -1,
24  int bufferID = 1, int numBuffers = 1,
25  const amrex::Geometry& full_BTD_snapshot = amrex::Geometry(),
26  bool isLastBTDFlush = false) const = 0;
27 
28  FlushFormat () = default;
29  virtual ~FlushFormat() = default;
30 
31  FlushFormat ( FlushFormat const &) = default;
32  FlushFormat& operator= ( FlushFormat const & ) = default;
33  FlushFormat ( FlushFormat&& ) = default;
35 };
36 
37 #endif // WARPX_FLUSHFORMAT_H_
Definition: FlushFormat.H:10
FlushFormat(FlushFormat &&)=default
FlushFormat & operator=(FlushFormat const &)=default
FlushFormat(FlushFormat const &)=default
FlushFormat()=default
virtual ~FlushFormat()=default
virtual void WriteToFile(const amrex::Vector< std::string > &varnames, const amrex::Vector< amrex::MultiFab > &mf, amrex::Vector< amrex::Geometry > &geom, amrex::Vector< int > iteration, double time, const amrex::Vector< ParticleDiag > &particle_diags, int nlev, std::string prefix, int file_min_digits, bool plot_raw_fields, bool plot_raw_fields_guards, 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 =0