11 #ifndef _MBAGGLEVELEXCHANGE_H_ 12 #define _MBAGGLEVELEXCHANGE_H_ 19 #include "NamespaceHeader.H" 199 #include "NamespaceFooter.H" Vector< IntVect > m_powers
powers in Taylor polynomial
Definition: MBAggLevelExchange.H:133
The class MultiBlockLevelGeom stores topological and geometric information.
Definition: MultiBlockLevelGeom.H:29
int m_nblocks
Number of mapping blocks.
Definition: MBAggLevelExchange.H:148
int m_ghosts
width of ghost layer around m_grids, at which data will be filled in
Definition: MBAggLevelExchange.H:118
const LayoutData< IntVectSet > & ghostCells() const
accessor
Definition: MBAggLevelExchange.H:75
A reference-counting handle class.
Definition: RefCountedPtr.H:173
#define CH_assert(cond)
Definition: CHArray.H:37
virtual ~MBAggLevelExchange()
destructor
bool m_allGridsHaveFixedPt
whether all original underlying grids contain m_fixedPt in m_fixedDimsVect
Definition: MBAggLevelExchange.H:169
A not-necessarily-disjoint collective of boxes.
Definition: BoxLayout.H:145
int m_order
order of approximation wanted
Definition: MBAggLevelExchange.H:121
MBAggLevelExchange()
default constructor
Definition: MBAggLevelExchange.H:35
DisjointBoxLayout m_grids
underlying grids
Definition: MBAggLevelExchange.H:115
Vector< int > m_fixedPt
fixed values of dimensions that are fixed. Default empty.
Definition: MBAggLevelExchange.H:163
LayoutData< RefCountedPtr< MBAggStencil > > m_stencils
interpolation stencils
Definition: MBAggLevelExchange.H:178
BoxLayout m_gridsFixedOff
displacement of original underlying grids from m_grids: 0 in m_interpDimsVect but varying in m_fixedD...
Definition: MBAggLevelExchange.H:166
Interval m_fixedDims
interval of dimensions that are fixed. Default empty.
Definition: MBAggLevelExchange.H:154
int m_numTaylorCoeffs
number of coefficients in Taylor polynomial
Definition: MBAggLevelExchange.H:136
Box m_degreeBox
[0:m_degree]^D
Definition: MBAggLevelExchange.H:130
int m_radius
radius of neighborhood of data used for interpolation to ghost cell
Definition: MBAggLevelExchange.H:124
Vector< int > m_interpDimsVect
dimensions that are not fixed. Default 0:SpaceDim-1.
Definition: MBAggLevelExchange.H:160
LayoutData< IntVectSet > m_ghostCells
extra-block ghost cells of m_grids that need to be filled in
Definition: MBAggLevelExchange.H:151
virtual void defineVector()
must be in the derived class, else error when calling.
Vector< int > m_fixedDimsVect
dimensions that are fixed. Default empty.
Definition: MBAggLevelExchange.H:157
Structure for passing component ranges in code.
Definition: Interval.H:23
virtual void define(const MultiBlockLevelGeom *a_geomPtr, int a_ghosts, int a_order)
int m_degree
degree of Taylor polynomials
Definition: MBAggLevelExchange.H:127
MultiBlockCoordSys * m_coordSysPtr
contains coordinate systems; from m_geomPtr
Definition: MBAggLevelExchange.H:142
bool m_isDefined
is defined?
Definition: MBAggLevelExchange.H:106
Vector< BoxLayout * > m_validLayout
for each source block, min Box containing valid cells
Definition: MBAggLevelExchange.H:187
Vector< Copier * > m_copiersFull
Definition: MBAggLevelExchange.H:194
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
virtual interface class encapsulating multi-block mapping API
Definition: MultiBlockCoordSys.H:34
MultiBlockUtil * m_mbUtil
Definition: MBAggLevelExchange.H:196
virtual void removeNoValidSource(const LayoutData< RefCountedPtr< IVSFAB< MBStencil > > > &a_slowStencils)
remove from m_ghostCells all cells that do not have complete stencils.
The class MultiBlockUtil contains some functions used by MultiBlockLevelGeom, MultiBlockLevelExchange...
Definition: MultiBlockUtil.H:23
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:469
DisjointBoxLayout m_gridsFull
original underlying grids
Definition: MBAggLevelExchange.H:145
Vector< BoxLayout * > m_validFullLayout
Definition: MBAggLevelExchange.H:189
The class MultiBlockLevelExchange stores topological and geometric information.
Definition: MBAggLevelExchange.H:29
Cell-Based or Node-Based Indices.
Definition: Box.H:45
virtual void interpGhostsVector(LevelData< FArrayBox > &a_data) const
fill extra-block ghost cells of vector a_data at all components
virtual void interpGhostsAllWithVector(LevelData< FArrayBox > &a_data, const Interval &a_vecIntvl) const
fill extra-block ghost cells of all components of a_data at components, where a_vecIntvl is interval ...
bool m_isVectorDefined
is defined for vector transformations?
Definition: MBAggLevelExchange.H:109
IndexType m_type
either IndexType::TheCellType() for averaged, or IndexType::TheNodeType() for centered ...
Definition: MBAggLevelExchange.H:112
const LayoutData< RefCountedPtr< MBAggStencil > > & stencils() const
accessor
Definition: MBAggLevelExchange.H:90
virtual void interpGhosts(LevelData< FArrayBox > &a_data, const Interval &a_intvl) const
fill extra-block ghost cells of a_data at components in a_intvl
MultiBlockLevelGeom * m_geomPtr
contains topological and geometric information
Definition: MBAggLevelExchange.H:139
Vector< Copier * > m_copiers
Copier *m_copiers[srcBlock] for copying from m_grids to BoxLayout *m_validLayout[srcBlock].
Definition: MBAggLevelExchange.H:192
bool isDefined() const
Definition: MBAggLevelExchange.H:94