11 #ifndef _FOURTHORDERFINEINTERP_H_ 12 #define _FOURTHORDERFINEINTERP_H_ 48 const int& a_numStates,
50 const int& a_refineCoarse,
54 const int& a_coarseGhostsFill = 0);
FourthOrderFineInterp()
Default constructor.
FourthOrderPatchInterp & patchInterp()
return patch interpolator
An irregular domain on an integer lattice.
Definition: IntVectSet.H:44
void operator=(const FourthOrderFineInterp &a_input)
Definition: FourthOrderFineInterp.H:188
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:130
int m_refineCoarse
Refinement ratio between this level and the next coarser.
Definition: FourthOrderFineInterp.H:171
Fourth-order interpolation in space.
Definition: FourthOrderFineInterp.H:25
const BaseFab< IntVect > & getStencil(const DataIterator &a_dit) const
return stencil indices
FourthOrderFineInterp(const FourthOrderFineInterp &a_input)
Definition: FourthOrderFineInterp.H:194
void interpOnPatch(FArrayBox &a_fine, const FArrayBox &a_coarse, const DataIterator &a_dit)
Interpolate in space on a single patch.
Definition: DataIterator.H:140
DisjointBoxLayout m_layout
Box layout for this level.
Definition: FourthOrderFineInterp.H:150
LevelData< BaseFab< IntVect > > m_stencilHere
on m_layoutCoarsened; which stencil to use at each coarse point
Definition: FourthOrderFineInterp.H:159
int m_numStates
Number of variables.
Definition: FourthOrderFineInterp.H:174
FourthOrderPatchInterp m_patchInterp
object for patch-based operations
Definition: FourthOrderFineInterp.H:156
int m_coarseGhostsFill
number of layers of ghost cells at the coarser level whose fine cells are to be filled in ...
Definition: FourthOrderFineInterp.H:180
int m_maxStencilDist
maximum distance of stencil from domain boundary
Definition: FourthOrderFineInterp.H:177
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:31
LevelData< FArrayBox > m_coarseData
copied coarse data in interpToFine, lives on m_layoutCoarsened
Definition: FourthOrderFineInterp.H:165
static void Error(const char *const a_msg=m_nullString, int m_exitCode=CH_DEFAULT_ERROR_CODE)
Print out message to cerr and exit with the specified exit code.
void define(const DisjointBoxLayout &a_layout, const int &a_numStates, const int &a_refineCoarse, const ProblemDomain &a_domain, const int &a_coarseGhostsFill=0)
Actual constructor.
DisjointBoxLayout m_layoutCoarsened
Box layout for the coarse level: m_layout coarsened by m_refineCoarse.
Definition: FourthOrderFineInterp.H:153
LevelData< FArrayBox > & coarsenedFineData()
return reference to coarse data
Definition: DataIndex.H:112
ProblemDomain m_domain
Problem domain - index space for this level.
Definition: FourthOrderFineInterp.H:168
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
Definition: FArrayBox.H:44
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:162
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:183