WarpX
Public Member Functions | List of all members
FlushFormatAscent Class Reference

This class aims at dumping performing in-situ diagnostics with ASCENT. In particular, function WriteToFile takes fields and particles as input arguments, and calls amrex functions to do the in-situ visualization. More...

#include <FlushFormatAscent.H>

Inheritance diagram for FlushFormatAscent:
FlushFormat

Public 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 override
 
 FlushFormatAscent ()=default
 
 ~FlushFormatAscent () override=default
 
 FlushFormatAscent (FlushFormatAscent const &)=default
 
FlushFormatAscentoperator= (FlushFormatAscent const &)=default
 
 FlushFormatAscent (FlushFormatAscent &&)=default
 
FlushFormatAscentoperator= (FlushFormatAscent &&)=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
 

Detailed Description

This class aims at dumping performing in-situ diagnostics with ASCENT. In particular, function WriteToFile takes fields and particles as input arguments, and calls amrex functions to do the in-situ visualization.

Constructor & Destructor Documentation

◆ FlushFormatAscent() [1/3]

FlushFormatAscent::FlushFormatAscent ( )
default

◆ ~FlushFormatAscent()

FlushFormatAscent::~FlushFormatAscent ( )
overridedefault

◆ FlushFormatAscent() [2/3]

FlushFormatAscent::FlushFormatAscent ( FlushFormatAscent const &  )
default

◆ FlushFormatAscent() [3/3]

FlushFormatAscent::FlushFormatAscent ( FlushFormatAscent &&  )
default

Member Function Documentation

◆ operator=() [1/2]

FlushFormatAscent& FlushFormatAscent::operator= ( FlushFormatAscent &&  )
default

◆ operator=() [2/2]

FlushFormatAscent& FlushFormatAscent::operator= ( FlushFormatAscent const &  )
default

◆ WriteToFile()

void FlushFormatAscent::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
overridevirtual

Do in-situ visualization for field and particle data

Implements FlushFormat.


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