The class MultiBlockLevelGeom stores topological and geometric information.
More...
#include <MultiBlockLevelGeom.H>
|
| MultiBlockLevelGeom () |
| default constructor More...
|
|
| ~MultiBlockLevelGeom () |
| destructor More...
|
|
| MultiBlockLevelGeom (const MultiBlockCoordSys *a_coordSysPtr, const DisjointBoxLayout &a_grids, int a_ghosts, Interval a_fixedDims=Interval(), Vector< int > a_fixedPt=Vector< int >()) |
| full constructor More...
|
|
void | undefine () |
|
void | define (const MultiBlockCoordSys *a_coordSysPtr, const DisjointBoxLayout &a_grids, const int a_solUpdateGhosts, const int a_spaceOrder, Interval a_fixedDims=Interval(), Vector< int > a_fixedPt=Vector< int >()) |
| define knowing only ghosts required for the solution update procedure. DEPRECATED. More...
|
|
void | define (const MultiBlockCoordSys *a_coordSysPtr, const DisjointBoxLayout &a_grids, int a_ghosts, Interval a_fixedDims=Interval(), Vector< int > a_fixedPt=Vector< int >()) |
| define with explicit specification of number of multiblock ghosts More...
|
|
int | ghosts () const |
| accessor More...
|
|
const DisjointBoxLayout & | grids () const |
| accessor More...
|
|
const DisjointBoxLayout & | gridsFull () const |
| accessor More...
|
|
MultiBlockCoordSys * | coordSysPtr () const |
| accessor More...
|
|
const LayoutData< int > & | block () const |
| accessor More...
|
|
const LayoutData< IVSFAB< IntVect > *> & | validIndices () const |
| accessor More...
|
|
const LayoutData< IVSFAB< int > *> & | validBlock () const |
| accessor More...
|
|
const LayoutData< IVSFAB< RealVect > *> & | validMappedCenter () const |
| accessor More...
|
|
const Interval & | fixedDims () const |
|
const Vector< int > & | fixedDimsVect () const |
|
const Vector< int > & | interpDimsVect () const |
|
const Vector< int > & | fixedPt () const |
|
const BoxLayout & | gridsFixedOff () const |
|
bool | allGridsHaveFixedPt () const |
|
MultiBlockUtil * | mbUtil () const |
|
void | extraBlockGhosts (LayoutData< IntVectSet > &a_ghostCells, int a_ghostLayer) const |
| return indices of destination ghost cells for a particular width More...
|
|
bool | isDefined () const |
|
The class MultiBlockLevelGeom stores topological and geometric information.
MultiBlockLevelGeom stores topological and geometric information about a particular layout with a particular MultiBlockCoordSys.
Implementations of specific multiblock coordinate systems will be provided by derived classes.
◆ MultiBlockLevelGeom() [1/2]
MultiBlockLevelGeom::MultiBlockLevelGeom |
( |
| ) |
|
|
inline |
◆ ~MultiBlockLevelGeom()
MultiBlockLevelGeom::~MultiBlockLevelGeom |
( |
| ) |
|
◆ MultiBlockLevelGeom() [2/2]
◆ undefine()
void MultiBlockLevelGeom::undefine |
( |
| ) |
|
◆ define() [1/2]
define knowing only ghosts required for the solution update procedure. DEPRECATED.
Referenced by MultiBlockLevelGeom().
◆ define() [2/2]
define with explicit specification of number of multiblock ghosts
◆ ghosts()
int MultiBlockLevelGeom::ghosts |
( |
| ) |
const |
|
inline |
◆ grids()
◆ gridsFull()
◆ coordSysPtr()
◆ block()
const LayoutData<int>& MultiBlockLevelGeom::block |
( |
| ) |
const |
|
inline |
◆ validIndices()
◆ validBlock()
◆ validMappedCenter()
◆ fixedDims()
const Interval& MultiBlockLevelGeom::fixedDims |
( |
| ) |
const |
|
inline |
◆ fixedDimsVect()
const Vector<int>& MultiBlockLevelGeom::fixedDimsVect |
( |
| ) |
const |
|
inline |
◆ interpDimsVect()
const Vector<int>& MultiBlockLevelGeom::interpDimsVect |
( |
| ) |
const |
|
inline |
◆ fixedPt()
const Vector<int>& MultiBlockLevelGeom::fixedPt |
( |
| ) |
const |
|
inline |
◆ gridsFixedOff()
const BoxLayout& MultiBlockLevelGeom::gridsFixedOff |
( |
| ) |
const |
|
inline |
◆ allGridsHaveFixedPt()
bool MultiBlockLevelGeom::allGridsHaveFixedPt |
( |
| ) |
const |
|
inline |
◆ mbUtil()
◆ extraBlockGhosts()
void MultiBlockLevelGeom::extraBlockGhosts |
( |
LayoutData< IntVectSet > & |
a_ghostCells, |
|
|
int |
a_ghostLayer |
|
) |
| const |
return indices of destination ghost cells for a particular width
In a_ghostCells, return ghost cells of m_grids out to a_ghostLayer, which is width of destination ghost cell layer. This function requires m_grids, m_coordSysPtr, m_block, and m_boundaries, but NOT anything else like m_validIndices, m_validBlock, m_validMappedCenter.
Referenced by mbUtil().
◆ isDefined()
bool MultiBlockLevelGeom::isDefined |
( |
| ) |
const |
|
inline |
◆ m_isDefined
bool MultiBlockLevelGeom::m_isDefined |
|
protected |
is this object defined? covers m_coordSysPtr, m_grids, m_ghosts, m_boundaries, m_block, m_ghostCells, m_validIndices, m_validBlock, m_validMappedCenter
Referenced by isDefined(), and MultiBlockLevelGeom().
◆ m_coordSysPtr
coordinate system (given in constructor)
Referenced by coordSysPtr().
◆ m_gridsFull
◆ m_grids
underlying grids (given in constructor) varying in m_interpDimsVect but set to m_fixedPt in m_fixedDimsVect
Referenced by grids().
◆ m_gridsFixedOff
BoxLayout MultiBlockLevelGeom::m_gridsFixedOff |
|
protected |
displacement of original underlying grids from m_grids: 0 in m_interpDimsVect but varying in m_fixedDimsVect
Referenced by gridsFixedOff().
◆ m_allGridsHaveFixedPt
bool MultiBlockLevelGeom::m_allGridsHaveFixedPt |
|
protected |
whether all original underlying grids contain m_fixedPt in m_fixedDimsVect
Referenced by allGridsHaveFixedPt().
◆ m_ghosts
int MultiBlockLevelGeom::m_ghosts |
|
protected |
width of ghost layer around m_grids, from which data will be taken (given in constructor)
Referenced by ghosts().
◆ m_fixedDims
Interval MultiBlockLevelGeom::m_fixedDims |
|
protected |
dimensions that are fixed. Default is empty.
Referenced by fixedDims().
◆ m_fixedDimsVect
Vector<int> MultiBlockLevelGeom::m_fixedDimsVect |
|
protected |
dimensions that are fixed. Default is empty.
Referenced by fixedDimsVect().
◆ m_fixedPt
Vector<int> MultiBlockLevelGeom::m_fixedPt |
|
protected |
coordinates in dimensions of m_fixedDims. Default is empty.
Referenced by fixedPt().
◆ m_interpDimsVect
Vector<int> MultiBlockLevelGeom::m_interpDimsVect |
|
protected |
dimensions that will be interpolated, which is all dimensions that are not in m_fixedDims. Default is 0:SpaceDim-1.
Referenced by interpDimsVect().
◆ m_boundaries
all block boundaries; from m_coordSysPtr
◆ m_block
block containing each box of m_grids
Referenced by block().
◆ m_ghostCells
extra-block ghost cells from which data will be taken. Lives on m_grids.
◆ m_validIndices
coordinate indices within the valid block of the cell in which the center of each extra-block ghost cell falls. Lives on m_ghostCells, has 1 component.
Referenced by validIndices().
◆ m_validBlock
index of the valid block in which the center of each extra-block ghost cell falls. Lives on m_ghostCells, has 1 component.
Referenced by validBlock().
◆ m_validMappedCenter
mapped coordinates, in valid block's index space, of center of each extra-block ghost cell. Lives on m_ghostCells, has 1 component.
Referenced by validMappedCenter().
◆ m_mbUtil
The documentation for this class was generated from the following file: