WarpX
Loading...
Searching...
No Matches
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
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
28{
29public:
31 void WriteToFile (
32 const amrex::Vector<std::string>& varnames,
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
54};
55
56#endif // WARPX_FLUSHFORMATASCENT_H_
FlushFormatAscent()=default
~FlushFormatAscent() override=default
FlushFormatAscent & operator=(FlushFormatAscent const &)=default
FlushFormatAscent(FlushFormatAscent const &)=default
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 &&)=default
FlushFormatInSitu()=default