WarpX
Toggle main menu visibility
Loading...
Searching...
No Matches
Source
Diagnostics
FlushFormats
FlushFormatAscent.H
Go to the documentation of this file.
1
#ifndef WARPX_FLUSHFORMATASCENT_H_
2
#define WARPX_FLUSHFORMATASCENT_H_
3
4
#include "
FlushFormatInSitu.H
"
5
6
#include "
Diagnostics/ParticleDiag/ParticleDiag_fwd.H
"
7
8
#ifdef AMREX_USE_ASCENT
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_ASCENT
17
# include <ascent.hpp>
18
#endif
19
20
#include <string>
21
27
class
FlushFormatAscent
:
public
FlushFormatInSitu
28
{
29
public
:
31
void
WriteToFile
(
32
const
amrex::Vector<std::string>
& varnames,
33
const
amrex::Vector<amrex::MultiFab>
& mf,
34
amrex::Vector<amrex::Geometry>
& geom,
35
amrex::Vector<int>
iteration,
double
time,
36
const
amrex::Vector<ParticleDiag>
& particle_diags,
int
nlev,
37
std::string prefix,
int
file_min_digits,
38
bool
plot_raw_fields,
39
bool
plot_raw_fields_guards,
40
int
verbose = 2,
41
bool
use_pinned_pc =
false
,
42
bool
isBTD =
false
,
int
snapshotID = -1,
43
int
bufferID = 1,
int
numBuffers = 1,
44
const
amrex::Geometry
& full_BTD_snapshot =
amrex::Geometry
(),
45
bool
isLastBTDFlush =
false
)
const override
;
46
47
FlushFormatAscent
() =
default
;
48
~FlushFormatAscent
()
override
=
default
;
49
50
FlushFormatAscent
(
FlushFormatAscent
const
&) =
default
;
51
FlushFormatAscent
&
operator=
(
FlushFormatAscent
const
& ) =
default
;
52
FlushFormatAscent
(
FlushFormatAscent
&& ) =
default
;
53
FlushFormatAscent
&
operator=
(
FlushFormatAscent
&& ) =
default
;
54
};
55
56
#endif
// WARPX_FLUSHFORMATASCENT_H_
AMReX_BaseFwd.H
AMReX_Geometry.H
AMReX_Vector.H
FlushFormatInSitu.H
ParticleDiag_fwd.H
FlushFormatAscent::FlushFormatAscent
FlushFormatAscent()=default
FlushFormatAscent::~FlushFormatAscent
~FlushFormatAscent() override=default
FlushFormatAscent::operator=
FlushFormatAscent & operator=(FlushFormatAscent const &)=default
FlushFormatAscent::FlushFormatAscent
FlushFormatAscent(FlushFormatAscent const &)=default
FlushFormatAscent::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
FlushFormatAscent.cpp:13
FlushFormatAscent::FlushFormatAscent
FlushFormatAscent(FlushFormatAscent &&)=default
FlushFormatInSitu::FlushFormatInSitu
FlushFormatInSitu()=default
amrex::Geometry
amrex::Vector
Generated by
1.17.0