WarpX
Private Member Functions | List of all members
FlushFormatCheckpoint Class Referencefinal

#include <FlushFormatCheckpoint.H>

Inheritance diagram for FlushFormatCheckpoint:
FlushFormatPlotfile FlushFormat

Private Member Functions

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, 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 final
 
void CheckpointParticles (const std::string &dir, const amrex::Vector< ParticleDiag > &particle_diags) const
 
void WriteDMaps (const std::string &dir, int nlev) const
 

Additional Inherited Members

- Public Member Functions inherited from FlushFormatPlotfile
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, 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
 
void WriteJobInfo (const std::string &dir) const
 
void WriteWarpXHeader (const std::string &name, amrex::Vector< amrex::Geometry > &geom) const
 
void WriteAllRawFields (bool plot_raw_fields, int nlevels, const std::string &plotfilename, bool plot_raw_fields_guards) const
 
void WriteParticles (const std::string &dir, const amrex::Vector< ParticleDiag > &particle_diags, amrex::Real time, bool isBTD=false) const
 Write particles data to file. More...
 
 FlushFormatPlotfile ()=default
 
 ~FlushFormatPlotfile () override=default
 
 FlushFormatPlotfile (FlushFormatPlotfile const &)=default
 
FlushFormatPlotfileoperator= (FlushFormatPlotfile const &)=default
 
 FlushFormatPlotfile (FlushFormatPlotfile &&)=default
 
FlushFormatPlotfileoperator= (FlushFormatPlotfile &&)=default
 
- Public Member Functions inherited from FlushFormat
 FlushFormat ()=default
 
virtual ~FlushFormat ()=default
 
 FlushFormat (FlushFormat const &)=default
 
FlushFormatoperator= (FlushFormat const &)=default
 
 FlushFormat (FlushFormat &&)=default
 
FlushFormatoperator= (FlushFormat &&)=default
 

Member Function Documentation

◆ CheckpointParticles()

void FlushFormatCheckpoint::CheckpointParticles ( const std::string &  dir,
const amrex::Vector< ParticleDiag > &  particle_diags 
) const
private

◆ WriteDMaps()

void FlushFormatCheckpoint::WriteDMaps ( const std::string &  dir,
int  nlev 
) const
private

◆ WriteToFile()

void FlushFormatCheckpoint::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,
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
finalprivatevirtual

Flush fields and particles to plotfile

Implements FlushFormat.


The documentation for this class was generated from the following files: