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

#include <AMReX_PlotFileUtil.H>

Public Member Functions

 PlotFileData (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 (PlotFileData const &src) noexcept
 
void syncDistributionMap (int level, PlotFileData 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::unique_ptr< PlotFileDataImplm_impl
 

Constructor & Destructor Documentation

◆ PlotFileData()

amrex::PlotFileData::PlotFileData ( std::string const &  plotfile_name)
inline

Member Function Documentation

◆ boxArray()

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

◆ cellSize()

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

◆ coordSys()

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

◆ DistributionMap()

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

◆ finestLevel()

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

◆ get() [1/2]

MultiFab amrex::PlotFileData::get ( int  level)
inlinenoexcept

◆ get() [2/2]

MultiFab amrex::PlotFileData::get ( int  level,
std::string const &  varname 
)
inlinenoexcept

◆ levelStep()

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

◆ nComp()

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

◆ nGrowVect()

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

◆ probDomain()

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

◆ probHi()

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

◆ probLo()

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

◆ probSize()

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

◆ refRatio()

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

◆ spaceDim()

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

◆ syncDistributionMap() [1/2]

void amrex::PlotFileData::syncDistributionMap ( int  level,
PlotFileData const &  src 
)
inlinenoexcept

◆ syncDistributionMap() [2/2]

void amrex::PlotFileData::syncDistributionMap ( PlotFileData const &  src)
inlinenoexcept

◆ time()

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

◆ varNames()

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

Member Data Documentation

◆ m_impl

std::unique_ptr<PlotFileDataImpl> amrex::PlotFileData::m_impl
private

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