WarpX
Loading...
Searching...
No Matches
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
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
31{
32public:
33 // Initialize
35
37 void WriteToFile (
38 const amrex::Vector<std::string>& varnames,
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
63};
64
65#endif
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 const &)=default
FlushFormatCatalyst(FlushFormatCatalyst const &)=default
~FlushFormatCatalyst() override=default
FlushFormatCatalyst()
Definition FlushFormatCatalyst.cpp:76
FlushFormatCatalyst(FlushFormatCatalyst &&)=default
FlushFormatInSitu()=default