WarpX
Toggle main menu visibility
Loading...
Searching...
No Matches
Source
Diagnostics
FlushFormats
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
6
#include "
Diagnostics/ParticleDiag/ParticleDiag.H
"
7
#include "
Particles/MultiParticleContainer.H
"
8
9
class
FlushFormat
10
{
11
public
:
13
virtual
void
WriteToFile
(
14
const
amrex::Vector<std::string>
& varnames,
15
const
amrex::Vector<amrex::MultiFab>
& mf,
16
amrex::Vector<amrex::Geometry>
& geom,
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
;
35
FlushFormat
&
operator=
(
FlushFormat
&& ) =
default
;
36
};
37
38
#endif
// WARPX_FLUSHFORMAT_H_
FlushFormat_fwd.H
MultiParticleContainer.H
ParticleDiag.H
FlushFormat::FlushFormat
FlushFormat(FlushFormat &&)=default
FlushFormat::operator=
FlushFormat & operator=(FlushFormat const &)=default
FlushFormat::WriteToFile
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
FlushFormat(FlushFormat const &)=default
FlushFormat::FlushFormat
FlushFormat()=default
FlushFormat::~FlushFormat
virtual ~FlushFormat()=default
amrex::Geometry
amrex::Vector
Generated by
1.17.0