11 #ifndef _FOURTHORDERPATCHINTERP_H_ 12 #define _FOURTHORDERPATCHINTERP_H_ 48 const int& a_refineCoarse,
50 const int& a_maxStencilDist);
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:97
An irregular domain on an integer lattice.
Definition: IntVectSet.H:44
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:130
virtual void define(const ProblemDomain &a_domain, const int &a_refineCoarse, const int &a_maxStencilDist)
Actual constructor.
int m_degree
max degree of approximations
Definition: FourthOrderPatchInterp.H:106
bool m_isCoarseBoxSet
m_coarseBox is set
Definition: FourthOrderPatchInterp.H:115
BaseFab< FourthOrderInterpStencil * > m_stencils
all possible stencils, on (-m_maxStencilDist:+m_maxStencilDist)^SpaceDim
Definition: FourthOrderPatchInterp.H:91
int m_refineCoarse
Refinement ratio between this level and the next coarser.
Definition: FourthOrderPatchInterp.H:100
FourthOrderPatchInterp()
Default constructor.
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:112
Definition: FArrayBox.H:44
ProblemDomain m_domain
Problem domain - index space for this level.
Definition: FourthOrderPatchInterp.H:94
Fourth-order interpolation in space on a single patch.
Definition: FourthOrderPatchInterp.H:24
virtual void setCoarseBox(const Box &a_coarseBox)
Set the coarse box before calling setStencil or interpToFine.
void operator=(const FourthOrderPatchInterp &a_input)
Definition: FourthOrderPatchInterp.H:120
int m_maxStencilDist
maximum distance of stencil from domain boundary
Definition: FourthOrderPatchInterp.H:103
FourthOrderPatchInterp(const FourthOrderPatchInterp &a_input)
Definition: FourthOrderPatchInterp.H:126
bool m_defined
define() has been called
Definition: FourthOrderPatchInterp.H:109