Block-Structured AMR Software Framework
amrex::PlotFileDataImpl Class Reference

#include <AMReX_PlotFileDataImpl.H>

Public Member Functions

 PlotFileDataImpl (std::string const &plotfile_name)
 
int spaceDim () const noexcept
 
Real time () const noexcept
 
int finestLevel () const noexcept
 
int refRatio (int level) const noexcept
 
int levelStep (int level) const noexcept
 
const BoxArrayboxArray (int level) const noexcept
 
const DistributionMappingDistributionMap (int level) const noexcept
 
void syncDistributionMap (PlotFileDataImpl const &src) noexcept
 
void syncDistributionMap (int level, PlotFileDataImpl const &src) noexcept
 
int coordSys () const noexcept
 
Box probDomain (int level) const noexcept
 
Array< Real, AMREX_SPACEDIM > probSize () const noexcept
 
Array< Real, AMREX_SPACEDIM > probLo () const noexcept
 
Array< Real, AMREX_SPACEDIM > probHi () const noexcept
 
Array< Real, AMREX_SPACEDIM > cellSize (int level) const noexcept
 
const Vector< std::string > & varNames () const noexcept
 
int nComp () const noexcept
 
IntVect nGrowVect (int level) const noexcept
 
MultiFab get (int level) noexcept
 
MultiFab get (int level, std::string const &varname) noexcept
 

Private Attributes

std::string m_plotfile_name
 
std::string m_file_version
 
int m_ncomp
 
Vector< std::string > m_var_names
 
int m_spacedim
 
Real m_time
 
int m_finest_level
 
int m_nlevels
 
Array< Real, AMREX_SPACEDIM > m_prob_lo {{AMREX_D_DECL(0.,0.,0.)}}
 
Array< Real, AMREX_SPACEDIM > m_prob_hi {{AMREX_D_DECL(1.,1.,1.)}}
 
Array< Real, AMREX_SPACEDIM > m_prob_size {{AMREX_D_DECL(1.,1.,1.)}}
 
Vector< intm_ref_ratio
 
Vector< Boxm_prob_domain
 
Vector< intm_level_steps
 
Vector< Array< Real, AMREX_SPACEDIM > > m_cell_size
 
int m_coordsys
 
Vector< std::string > m_mf_name
 
Vector< std::unique_ptr< VisMF > > m_vismf
 
Vector< BoxArraym_ba
 
Vector< DistributionMappingm_dmap
 
Vector< IntVectm_ngrow
 

Constructor & Destructor Documentation

◆ PlotFileDataImpl()

amrex::PlotFileDataImpl::PlotFileDataImpl ( std::string const &  plotfile_name)

Member Function Documentation

◆ boxArray()

const BoxArray& amrex::PlotFileDataImpl::boxArray ( int  level) const
inlinenoexcept

◆ cellSize()

Array<Real,AMREX_SPACEDIM> amrex::PlotFileDataImpl::cellSize ( int  level) const
inlinenoexcept

◆ coordSys()

int amrex::PlotFileDataImpl::coordSys ( ) const
inlinenoexcept

◆ DistributionMap()

const DistributionMapping& amrex::PlotFileDataImpl::DistributionMap ( int  level) const
inlinenoexcept

◆ finestLevel()

int amrex::PlotFileDataImpl::finestLevel ( ) const
inlinenoexcept

◆ get() [1/2]

MultiFab amrex::PlotFileDataImpl::get ( int  level)
noexcept

◆ get() [2/2]

MultiFab amrex::PlotFileDataImpl::get ( int  level,
std::string const &  varname 
)
noexcept

◆ levelStep()

int amrex::PlotFileDataImpl::levelStep ( int  level) const
inlinenoexcept

◆ nComp()

int amrex::PlotFileDataImpl::nComp ( ) const
inlinenoexcept

◆ nGrowVect()

IntVect amrex::PlotFileDataImpl::nGrowVect ( int  level) const
inlinenoexcept

◆ probDomain()

Box amrex::PlotFileDataImpl::probDomain ( int  level) const
inlinenoexcept

◆ probHi()

Array<Real,AMREX_SPACEDIM> amrex::PlotFileDataImpl::probHi ( ) const
inlinenoexcept

◆ probLo()

Array<Real,AMREX_SPACEDIM> amrex::PlotFileDataImpl::probLo ( ) const
inlinenoexcept

◆ probSize()

Array<Real,AMREX_SPACEDIM> amrex::PlotFileDataImpl::probSize ( ) const
inlinenoexcept

◆ refRatio()

int amrex::PlotFileDataImpl::refRatio ( int  level) const
inlinenoexcept

◆ spaceDim()

int amrex::PlotFileDataImpl::spaceDim ( ) const
inlinenoexcept

◆ syncDistributionMap() [1/2]

void amrex::PlotFileDataImpl::syncDistributionMap ( int  level,
PlotFileDataImpl const &  src 
)
noexcept

◆ syncDistributionMap() [2/2]

void amrex::PlotFileDataImpl::syncDistributionMap ( PlotFileDataImpl const &  src)
noexcept

◆ time()

Real amrex::PlotFileDataImpl::time ( ) const
inlinenoexcept

◆ varNames()

const Vector<std::string>& amrex::PlotFileDataImpl::varNames ( ) const
inlinenoexcept

Member Data Documentation

◆ m_ba

Vector<BoxArray> amrex::PlotFileDataImpl::m_ba
private

◆ m_cell_size

Vector<Array<Real,AMREX_SPACEDIM> > amrex::PlotFileDataImpl::m_cell_size
private

◆ m_coordsys

int amrex::PlotFileDataImpl::m_coordsys
private

◆ m_dmap

Vector<DistributionMapping> amrex::PlotFileDataImpl::m_dmap
private

◆ m_file_version

std::string amrex::PlotFileDataImpl::m_file_version
private

◆ m_finest_level

int amrex::PlotFileDataImpl::m_finest_level
private

◆ m_level_steps

Vector<int> amrex::PlotFileDataImpl::m_level_steps
private

◆ m_mf_name

Vector<std::string> amrex::PlotFileDataImpl::m_mf_name
private

◆ m_ncomp

int amrex::PlotFileDataImpl::m_ncomp
private

◆ m_ngrow

Vector<IntVect> amrex::PlotFileDataImpl::m_ngrow
private

◆ m_nlevels

int amrex::PlotFileDataImpl::m_nlevels
private

◆ m_plotfile_name

std::string amrex::PlotFileDataImpl::m_plotfile_name
private

◆ m_prob_domain

Vector<Box> amrex::PlotFileDataImpl::m_prob_domain
private

◆ m_prob_hi

Array<Real,AMREX_SPACEDIM> amrex::PlotFileDataImpl::m_prob_hi {{AMREX_D_DECL(1.,1.,1.)}}
private

◆ m_prob_lo

Array<Real,AMREX_SPACEDIM> amrex::PlotFileDataImpl::m_prob_lo {{AMREX_D_DECL(0.,0.,0.)}}
private

◆ m_prob_size

Array<Real,AMREX_SPACEDIM> amrex::PlotFileDataImpl::m_prob_size {{AMREX_D_DECL(1.,1.,1.)}}
private

◆ m_ref_ratio

Vector<int> amrex::PlotFileDataImpl::m_ref_ratio
private

◆ m_spacedim

int amrex::PlotFileDataImpl::m_spacedim
private

◆ m_time

Real amrex::PlotFileDataImpl::m_time
private

◆ m_var_names

Vector<std::string> amrex::PlotFileDataImpl::m_var_names
private

◆ m_vismf

Vector<std::unique_ptr<VisMF> > amrex::PlotFileDataImpl::m_vismf
private

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