#include <AMReX_AmrData.H>
Public Member Functions | |
| AmrData () | |
| ~AmrData () | |
| bool | ReadData (const std::string &filename, Amrvis::FileType filetype) |
| bool | ReadNonPlotfileData (const std::string &filename, Amrvis::FileType filetype) |
| const Vector< std::string > & | PlotVarNames () const |
| int | FinestLevel () const |
| const Vector< int > & | RefRatio () const |
| const BoxArray & | boxArray (int level) const |
| const DistributionMapping & | DistributionMap (int level) const |
| const Vector< Box > & | ProbDomain () const |
| const Vector< Real > & | ProbSize () const |
| const Vector< Real > & | ProbLo () const |
| const Vector< Real > & | ProbHi () const |
| void | CellLoc (int lev, IntVect ix, Vector< Real > &pos) const |
| void | LoNodeLoc (int lev, IntVect ix, Vector< Real > &pos) const |
| void | HiNodeLoc (int lev, IntVect ix, Vector< Real > &pos) const |
| Vector< Real > | CellSize (int iLevel) const |
| void | IntVectFromLocation (const int finestFillLevel, const Vector< Real > &location, IntVect &ivLoc, int &ivLevel, IntVect &ivFinestFillLev) const |
| const Vector< Vector< Vector< Real > > > & | GridLocLo () const |
| const Vector< Vector< Vector< Real > > > & | GridLocHi () const |
| const Vector< Vector< Real > > & | DxLevel () const |
| const Vector< int > & | LevelSteps () const |
| int | NComp () const |
| int | BoundaryWidth () const |
| int | NGrow () const |
| int | CoordSys () const |
| Real | Time () const |
| const std::string & | PlotFileVersion () const |
| void | FillVar (FArrayBox *destFab, const Box &destBox, int finestFillLevel, const std::string &varName, int procWithFabs) |
| void | FillVar (Vector< FArrayBox * > &destFabs, const Vector< Box > &destBoxes, int finestFillLevel, const std::string &varName, int procWithFabs) |
| void | FillVar (MultiFab &destMultiFab, int finestFillLevel, const Vector< std::string > &varNames, const Vector< int > &destFillComps) |
| void | FillVar (MultiFab &destMultiFab, int finestFillLevel, const std::string &varname, int destcomp=0) |
| const std::string & | GetFileName () const |
| void | SetFileType (Amrvis::FileType type) |
| Amrvis::FileType | GetFileType () const |
| bool | CartGrid () const |
| bool | GetShowBody () const |
| void | SetShowBody (bool tf) |
| int | CartGridVersion () const |
| Real | VfEps (int level) const |
| void | SetVfEps (Real *newvfeps, int finestlev) |
| bool | Terrain () const |
| void | SetBoundaryWidth (int width) |
| bool | CanDerive (const std::string &name) const |
| bool | CanDerive (const Vector< std::string > &names) const |
| int | NumDeriveFunc () const |
| void | ListDeriveFunc (std::ostream &os) const |
| int | StateNumber (const std::string &statename) const |
| int | FinestContainingLevel (const Box &b, int startLevel) const |
| int | FinestIntersectingLevel (const Box &b, int startLevel) const |
| int | NIntersectingGrids (int level, const Box &b) const |
| MultiFab & | GetGrids (int level, int componentIndex) |
| MultiFab & | GetGrids (int level, int componentIndex, const Box &onBox) |
| void | FlushGrids () |
| void | FlushGrids (int componentIndex) |
| bool | MinMax (const Box &onBox, const std::string &derived, int level, Real &dataMin, Real &dataMax) |
Static Public Member Functions | |
| static void | SetVerbose (bool tf) |
| static bool | Verbose () |
| static void | SetSkipPltLines (int spl) |
| static void | SetStaticBoundaryWidth (int bw) |
Protected Attributes | |
| Vector< Vector< MultiFab * > > | dataGrids |
| Vector< Vector< std::vector< bool > > > | dataGridsDefined |
| Vector< Vector< VisMF * > > | visMF |
| Vector< int > | compIndexToVisMFMap |
| Vector< int > | compIndexToVisMFComponentMap |
| int | finestLevel |
| Vector< int > | refRatio |
| Vector< Vector< Real > > | dxLevel |
| Vector< Vector< Vector< Real > > > | gridLocLo |
| Vector< Vector< Vector< Real > > > | gridLocHi |
| Vector< Box > | probDomain |
| Vector< Box > | maxDomain |
| Vector< Real > | probSize |
| Vector< Real > | probLo |
| Vector< Real > | probHi |
| Real | time |
| Vector< std::string > | plotVars |
| Vector< Real > | vfEps |
| Vector< Real > | afEps |
| int | nComp |
| int | nGrow |
| int | nRegions |
| int | boundaryWidth |
| int | coordSys |
| Vector< Vector< FArrayBox * > > | regions |
| BoxArray | fabBoxArray |
| std::string | plotFileVersion |
| Amrvis::FileType | fileType |
| bool | bCartGrid |
| bool | bShowBody |
| int | vCartGrid |
| bool | bTerrain |
| Vector< int > | levelSteps |
Private Member Functions | |
| void | FillInterior (FArrayBox &dest, int level, const Box &subbox) |
| void | PcInterp (FArrayBox &fine, const FArrayBox &crse, const Box &subbox, int lrat) |
| FArrayBox * | ReadGrid (std::istream &is, int numVar) |
| bool | DefineFab (int level, int componentIndex, int fabIndex) |
Private Attributes | |
| std::string | fileName |
Static Private Attributes | |
| static Amrvis::FileType | defaultFileType |
| static bool | verbose = false |
| static int | skipPltLines = 0 |
| static int | sBoundaryWidth = 0 |
| amrex::AmrData::AmrData | ( | ) |
| amrex::AmrData::~AmrData | ( | ) |
|
inline |
| bool amrex::AmrData::CanDerive | ( | const std::string & | name | ) | const |
| bool amrex::AmrData::CanDerive | ( | const Vector< std::string > & | names | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
| void amrex::AmrData::FillVar | ( | FArrayBox * | destFab, |
| const Box & | destBox, | ||
| int | finestFillLevel, | ||
| const std::string & | varName, | ||
| int | procWithFabs | ||
| ) |
| void amrex::AmrData::FillVar | ( | MultiFab & | destMultiFab, |
| int | finestFillLevel, | ||
| const std::string & | varname, | ||
| int | destcomp = 0 |
||
| ) |
| void amrex::AmrData::FillVar | ( | MultiFab & | destMultiFab, |
| int | finestFillLevel, | ||
| const Vector< std::string > & | varNames, | ||
| const Vector< int > & | destFillComps | ||
| ) |
| void amrex::AmrData::FillVar | ( | Vector< FArrayBox * > & | destFabs, |
| const Vector< Box > & | destBoxes, | ||
| int | finestFillLevel, | ||
| const std::string & | varName, | ||
| int | procWithFabs | ||
| ) |
|
inline |
| void amrex::AmrData::FlushGrids | ( | ) |
| void amrex::AmrData::FlushGrids | ( | int | componentIndex | ) |
|
inline |
|
inline |
|
inline |
| void amrex::AmrData::IntVectFromLocation | ( | const int | finestFillLevel, |
| const Vector< Real > & | location, | ||
| IntVect & | ivLoc, | ||
| int & | ivLevel, | ||
| IntVect & | ivFinestFillLev | ||
| ) | const |
| void amrex::AmrData::ListDeriveFunc | ( | std::ostream & | os | ) | const |
| bool amrex::AmrData::MinMax | ( | const Box & | onBox, |
| const std::string & | derived, | ||
| int | level, | ||
| Real & | dataMin, | ||
| Real & | dataMax | ||
| ) |
|
inline |
|
inline |
| int amrex::AmrData::NumDeriveFunc | ( | ) | const |
|
private |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| bool amrex::AmrData::ReadData | ( | const std::string & | filename, |
| Amrvis::FileType | filetype | ||
| ) |
| bool amrex::AmrData::ReadNonPlotfileData | ( | const std::string & | filename, |
| Amrvis::FileType | filetype | ||
| ) |
|
inline |
| void amrex::AmrData::SetFileType | ( | Amrvis::FileType | type | ) |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
| void amrex::AmrData::SetVfEps | ( | Real * | newvfeps, |
| int | finestlev | ||
| ) |
| int amrex::AmrData::StateNumber | ( | const std::string & | statename | ) | const |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprivate |
|
protected |
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprivate |
|
staticprivate |
|
protected |
|
protected |
|
staticprivate |
|
protected |