11 #ifndef _FOURTHORDERFINEINTERP_H_ 12 #define _FOURTHORDERFINEINTERP_H_ 19 #include "NamespaceHeader.H" 48 const int& a_numStates,
50 const int& a_refineCoarse,
54 const int& a_coarseGhostsFill = 0,
199 #include "NamespaceFooter.H" FourthOrderFineInterp()
Default constructor.
FourthOrderPatchInterp & patchInterp()
return patch interpolator
An irregular domain on an integer lattice.
Definition: IntVectSet.H:44
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
void define(const DisjointBoxLayout &a_layout, const int &a_numStates, const int &a_refineCoarse, const ProblemDomain &a_domain, const int &a_coarseGhostsFill=0, Interval a_fixedDims=Interval())
Actual constructor.
int m_refineCoarse
Refinement ratio between this level and the next coarser.
Definition: FourthOrderFineInterp.H:172
Fourth-order interpolation in space.
Definition: FourthOrderFineInterp.H:25
const BaseFab< IntVect > & getStencil(const DataIterator &a_dit) const
return stencil indices
void interpOnPatch(FArrayBox &a_fine, const FArrayBox &a_coarse, const DataIterator &a_dit)
Interpolate in space on a single patch.
Definition: DataIterator.H:190
DisjointBoxLayout m_layout
Box layout for this level.
Definition: FourthOrderFineInterp.H:151
Interval m_fixedDims
dimensions that are fixed, not interpolated
Definition: FourthOrderFineInterp.H:175
LevelData< BaseFab< IntVect > > m_stencilHere
on m_layoutCoarsened; which stencil to use at each coarse point
Definition: FourthOrderFineInterp.H:160
int m_numStates
Number of variables.
Definition: FourthOrderFineInterp.H:181
IntVect m_refineVect
1 in m_fixedDims, m_refineCoarse in other dimensions
Definition: FourthOrderFineInterp.H:178
FourthOrderPatchInterp m_patchInterp
object for patch-based operations
Definition: FourthOrderFineInterp.H:157
int m_coarseGhostsFill
number of layers of ghost cells at the coarser level whose fine cells are to be filled in ...
Definition: FourthOrderFineInterp.H:187
int m_maxStencilDist
maximum distance of stencil from domain boundary
Definition: FourthOrderFineInterp.H:184
Structure for passing component ranges in code.
Definition: Interval.H:23
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
LevelData< FArrayBox > m_coarseData
copied coarse data in interpToFine, lives on m_layoutCoarsened
Definition: FourthOrderFineInterp.H:166
DisjointBoxLayout m_layoutCoarsened
Box layout for the coarse level: m_layout coarsened by m_refineCoarse.
Definition: FourthOrderFineInterp.H:154
LevelData< FArrayBox > & coarsenedFineData()
return reference to coarse data
Definition: DataIndex.H:114
void operator=(const FourthOrderFineInterp &)
ProblemDomain m_domain
Problem domain - index space for this level.
Definition: FourthOrderFineInterp.H:169
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
Definition: FArrayBox.H:45
void interpToFine(LevelData< FArrayBox > &a_fine, const LevelData< FArrayBox > &a_coarse)
Interpolate in space.
IntVect m_ghostVect
ghost vector on m_coarseData
Definition: FourthOrderFineInterp.H:163
Fourth-order interpolation in space on a single patch.
Definition: FourthOrderPatchInterp.H:24
~FourthOrderFineInterp()
Destructor.
bool m_defined
define() has been called
Definition: FourthOrderFineInterp.H:190