WarpX
Loading...
Searching...
No Matches
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{
11public:
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 int verbose = 2,
23 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) const = 0;
28
29 FlushFormat () = default;
30 virtual ~FlushFormat() = default;
31
32 FlushFormat ( FlushFormat const &) = default;
33 FlushFormat& operator= ( FlushFormat const & ) = default;
34 FlushFormat ( FlushFormat&& ) = default;
36};
37
38#endif // WARPX_FLUSHFORMAT_H_
FlushFormat(FlushFormat &&)=default
FlushFormat & operator=(FlushFormat const &)=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, int verbose=2, 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
FlushFormat(FlushFormat const &)=default
FlushFormat()=default
virtual ~FlushFormat()=default