11 #ifndef _MULTIBLOCKLEVELGEOM_H_ 12 #define _MULTIBLOCKLEVELGEOM_H_ 19 #include "NamespaceHeader.H" 55 const int a_solUpdateGhosts,
56 const int a_spaceOrder,
130 int a_ghostLayer)
const;
194 #include "NamespaceFooter.H" const LayoutData< IVSFAB< IntVect > *> & validIndices() const
accessor
Definition: MultiBlockLevelGeom.H:89
MultiBlockCoordSys * m_coordSysPtr
coordinate system (given in constructor)
Definition: MultiBlockLevelGeom.H:144
The class MultiBlockLevelGeom stores topological and geometric information.
Definition: MultiBlockLevelGeom.H:29
MultiBlockLevelGeom()
default constructor
Definition: MultiBlockLevelGeom.H:35
const LayoutData< IVSFAB< RealVect > *> & validMappedCenter() const
accessor
Definition: MultiBlockLevelGeom.H:97
bool m_allGridsHaveFixedPt
whether all original underlying grids contain m_fixedPt in m_fixedDimsVect
Definition: MultiBlockLevelGeom.H:156
A not-necessarily-disjoint collective of boxes.
Definition: BoxLayout.H:145
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.
DisjointBoxLayout m_gridsFull
original underlying grids
Definition: MultiBlockLevelGeom.H:147
LayoutData< IntVectSet > m_ghostCells
extra-block ghost cells from which data will be taken. Lives on m_grids.
Definition: MultiBlockLevelGeom.H:180
int m_ghosts
width of ghost layer around m_grids, from which data will be taken (given in constructor) ...
Definition: MultiBlockLevelGeom.H:159
Interval m_fixedDims
dimensions that are fixed. Default is empty.
Definition: MultiBlockLevelGeom.H:162
MultiBlockCoordSys * coordSysPtr() const
accessor
Definition: MultiBlockLevelGeom.H:81
bool allGridsHaveFixedPt() const
Definition: MultiBlockLevelGeom.H:115
Vector< int > m_fixedDimsVect
dimensions that are fixed. Default is empty.
Definition: MultiBlockLevelGeom.H:165
const LayoutData< IVSFAB< int > *> & validBlock() const
accessor
Definition: MultiBlockLevelGeom.H:93
bool m_isDefined
Definition: MultiBlockLevelGeom.H:141
Structure for passing component ranges in code.
Definition: Interval.H:23
const Interval & fixedDims() const
Definition: MultiBlockLevelGeom.H:100
LayoutData< IVSFAB< int > *> 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.
Definition: MultiBlockLevelGeom.H:186
BoxLayout m_gridsFixedOff
displacement of original underlying grids from m_grids: 0 in m_interpDimsVect but varying in m_fixedD...
Definition: MultiBlockLevelGeom.H:153
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
Vector< Tuple< BlockBoundary, 2 *SpaceDim > > m_boundaries
all block boundaries; from m_coordSysPtr
Definition: MultiBlockLevelGeom.H:174
~MultiBlockLevelGeom()
destructor
virtual interface class encapsulating multi-block mapping API
Definition: MultiBlockCoordSys.H:34
bool isDefined() const
Definition: MultiBlockLevelGeom.H:132
const Vector< int > & fixedPt() const
Definition: MultiBlockLevelGeom.H:109
LayoutData< IVSFAB< RealVect > *> m_validMappedCenter
mapped coordinates, in valid block's index space, of center of each extra-block ghost cell...
Definition: MultiBlockLevelGeom.H:189
The class MultiBlockUtil contains some functions used by MultiBlockLevelGeom, MultiBlockLevelExchange...
Definition: MultiBlockUtil.H:23
MultiBlockUtil * m_mbUtil
Definition: MultiBlockLevelGeom.H:191
Vector< int > m_fixedPt
coordinates in dimensions of m_fixedDims. Default is empty.
Definition: MultiBlockLevelGeom.H:168
LayoutData< IVSFAB< IntVect > *> m_validIndices
coordinate indices within the valid block of the cell in which the center of each extra-block ghost c...
Definition: MultiBlockLevelGeom.H:183
const DisjointBoxLayout & gridsFull() const
accessor
Definition: MultiBlockLevelGeom.H:77
LayoutData< int > m_block
block containing each box of m_grids
Definition: MultiBlockLevelGeom.H:177
const Vector< int > & interpDimsVect() const
Definition: MultiBlockLevelGeom.H:106
const DisjointBoxLayout & grids() const
accessor
Definition: MultiBlockLevelGeom.H:73
Vector< int > m_interpDimsVect
dimensions that will be interpolated, which is all dimensions that are not in m_fixedDims. Default is 0:SpaceDim-1.
Definition: MultiBlockLevelGeom.H:171
MultiBlockUtil * mbUtil() const
Definition: MultiBlockLevelGeom.H:118
const Vector< int > & fixedDimsVect() const
Definition: MultiBlockLevelGeom.H:103
int ghosts() const
accessor
Definition: MultiBlockLevelGeom.H:69
const LayoutData< int > & block() const
accessor
Definition: MultiBlockLevelGeom.H:85
DisjointBoxLayout m_grids
underlying grids (given in constructor) varying in m_interpDimsVect but set to m_fixedPt in m_fixedDi...
Definition: MultiBlockLevelGeom.H:150
const BoxLayout & gridsFixedOff() const
Definition: MultiBlockLevelGeom.H:112
void extraBlockGhosts(LayoutData< IntVectSet > &a_ghostCells, int a_ghostLayer) const
return indices of destination ghost cells for a particular width