WarpX
Toggle main menu visibility
Loading...
Searching...
No Matches
Source
Diagnostics
FlushFormats
FlushFormatCatalyst.H
Go to the documentation of this file.
1
#ifndef WARPX_FLUSHFORMATCATALYST_H_
2
#define WARPX_FLUSHFORMATCATALYST_H_
3
4
#include "
FlushFormatInSitu.H
"
5
6
#include "
Diagnostics/ParticleDiag/ParticleDiag_fwd.H
"
7
8
#ifdef AMREX_USE_CONDUIT
9
# include <AMReX_Conduit_Blueprint.H>
10
#endif
11
#include <
AMReX_Geometry.H
>
12
#include <
AMReX_Vector.H
>
13
14
#include <
AMReX_BaseFwd.H
>
15
16
#ifdef AMREX_USE_CATALYST
17
# include <catalyst.hpp>
18
#endif
19
20
#include <string>
21
30
class
FlushFormatCatalyst
:
public
FlushFormatInSitu
31
{
32
public
:
33
// Initialize
34
FlushFormatCatalyst
();
35
37
void
WriteToFile
(
38
const
amrex::Vector<std::string>
& varnames,
39
const
amrex::Vector<amrex::MultiFab>
& mf,
40
amrex::Vector<amrex::Geometry>
& geom,
41
amrex::Vector<int>
iteration,
double
time,
42
const
amrex::Vector<ParticleDiag>
& particle_diags,
int
nlev,
43
std::string prefix,
int
file_min_digits,
44
bool
plot_raw_fields,
45
bool
plot_raw_fields_guards,
46
int
verbose = 2,
47
bool
use_pinned_pc =
false
,
48
bool
isBTD =
false
,
int
snapshotID = -1,
49
int
bufferID = 1,
int
numBuffers = 1,
50
const
amrex::Geometry
& full_BTD_snapshot =
amrex::Geometry
(),
51
bool
isLastBTDFlush =
false
)
const override
;
52
53
#ifdef AMREX_USE_CATALYST
54
~FlushFormatCatalyst
()
override
;
55
#else
56
~FlushFormatCatalyst
()
override
=
default
;
57
#endif
58
59
FlushFormatCatalyst
(
FlushFormatCatalyst
const
&) =
default
;
60
FlushFormatCatalyst
&
operator=
(
FlushFormatCatalyst
const
& ) =
default
;
61
FlushFormatCatalyst
(
FlushFormatCatalyst
&& ) =
default
;
62
FlushFormatCatalyst
&
operator=
(
FlushFormatCatalyst
&& ) =
default
;
63
};
64
65
#endif
AMReX_BaseFwd.H
AMReX_Geometry.H
AMReX_Vector.H
FlushFormatInSitu.H
ParticleDiag_fwd.H
FlushFormatCatalyst::WriteToFile
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 override
Definition
FlushFormatCatalyst.cpp:122
FlushFormatCatalyst::operator=
FlushFormatCatalyst & operator=(FlushFormatCatalyst const &)=default
FlushFormatCatalyst::FlushFormatCatalyst
FlushFormatCatalyst(FlushFormatCatalyst const &)=default
FlushFormatCatalyst::~FlushFormatCatalyst
~FlushFormatCatalyst() override=default
FlushFormatCatalyst::FlushFormatCatalyst
FlushFormatCatalyst()
Definition
FlushFormatCatalyst.cpp:76
FlushFormatCatalyst::FlushFormatCatalyst
FlushFormatCatalyst(FlushFormatCatalyst &&)=default
FlushFormatInSitu::FlushFormatInSitu
FlushFormatInSitu()=default
amrex::Geometry
amrex::Vector
Generated by
1.17.0