11 #ifndef _FOURTHORDERPATCHINTERP_H_ 12 #define _FOURTHORDERPATCHINTERP_H_ 18 #include "NamespaceHeader.H" 48 const int& a_refineCoarse,
50 const int& a_maxStencilDist,
140 #include "NamespaceFooter.H" virtual void interpToFine(FArrayBox &a_fine, const FArrayBox &a_coarse, const BaseFab< IntVect > &a_stencils)
Interpolate in space.
virtual ~FourthOrderPatchInterp()
Destructor.
ProblemDomain m_coarseDomain
Definition: FourthOrderPatchInterp.H:99
An irregular domain on an integer lattice.
Definition: IntVectSet.H:44
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
int m_degree
max degree of approximations
Definition: FourthOrderPatchInterp.H:108
bool m_isCoarseBoxSet
m_coarseBox is set
Definition: FourthOrderPatchInterp.H:123
BaseFab< FourthOrderInterpStencil * > m_stencils
all possible stencils, on (-m_maxStencilDist:+m_maxStencilDist)^SpaceDim
Definition: FourthOrderPatchInterp.H:93
virtual void define(const ProblemDomain &a_domain, const int &a_refineCoarse, const int &a_maxStencilDist, Interval a_fixedDims=Interval())
Actual constructor.
int m_refineCoarse
Refinement ratio between this level and the next coarser.
Definition: FourthOrderPatchInterp.H:102
FourthOrderPatchInterp()
Default constructor.
Structure for passing component ranges in code.
Definition: Interval.H:23
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.
virtual void setStencil(BaseFab< IntVect > &a_stencil)
Set stencil for current coarse box and domain.
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465
Box m_coarseBox
current coarse box
Definition: FourthOrderPatchInterp.H:120
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
Definition: FArrayBox.H:45
ProblemDomain m_domain
Problem domain - index space for this level.
Definition: FourthOrderPatchInterp.H:96
Fourth-order interpolation in space on a single patch.
Definition: FourthOrderPatchInterp.H:24
IntVect m_refineVect
1 in m_fixedDims, m_refineCoarse in other dimensions
Definition: FourthOrderPatchInterp.H:114
virtual void setCoarseBox(const Box &a_coarseBox)
Set the coarse box before calling setStencil or interpToFine.
Interval m_fixedDims
dimensions that are fixed, not interpolated
Definition: FourthOrderPatchInterp.H:111
void operator=(const FourthOrderPatchInterp &a_input)
Definition: FourthOrderPatchInterp.H:128
int m_maxStencilDist
maximum distance of stencil from domain boundary
Definition: FourthOrderPatchInterp.H:105
FourthOrderPatchInterp(const FourthOrderPatchInterp &a_input)
Definition: FourthOrderPatchInterp.H:134
bool m_defined
define() has been called
Definition: FourthOrderPatchInterp.H:117