1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef WARPX_FLUSHFORMAT_H_
#define WARPX_FLUSHFORMAT_H_
#include "FlushFormat_fwd.H"
#include "Diagnostics/ParticleDiag/ParticleDiag.H"
#include "Particles/MultiParticleContainer.H"
#include "WarpX.H"
class FlushFormat
{
public:
/** Flush fields and particles to file */
virtual void WriteToFile (
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 amrex::Vector<int>& totalParticlesFlushedAlready = amrex::Vector<int>() ) const = 0;
virtual ~FlushFormat() {}
};
#endif // WARPX_FLUSHFORMAT_H_
|