11 #ifndef _FOURTHORDERFILLPATCH_H_ 12 #define _FOURTHORDERFILLPATCH_H_ 21 #include "NamespaceHeader.H" 42 const int& a_numStates,
46 const int& a_refineCoarse,
48 const int& a_interpRadius,
50 bool a_fixedTime =
false,
54 define(a_thisDisjointBoxLayout, a_coarserDisjointBoxLayout,
55 a_numStates, a_coarseDomain, a_refineCoarse, a_interpRadius,
56 a_fixedTime, a_fixedDims);
75 const int& a_numStates,
79 const int& a_refineCoarse,
81 const int& a_interpRadius,
83 bool a_fixedTime =
false,
96 Real a_timeInterpCoeff,
115 Real a_timeInterpCoeff,
217 #include "NamespaceFooter.H" TimeInterpolatorRK4 m_timeInterpolator
interpolator in time
Definition: FourthOrderFillPatch.H:191
IntVect m_refineVect
1 in m_fixedDims, m_refineCoarse in other dimensions
Definition: FourthOrderFillPatch.H:179
~FourthOrderFillPatch()
Destructor.
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
void fillInterpSpaceFromCoarsened(LevelData< FArrayBox > &a_fineData, int a_srcComp, int a_dstComp, int a_numComp)
Interpolate in space only, from coarsened fine grids.
ProblemDomain m_coarseDomain
problem domain at the coarser level
Definition: FourthOrderFillPatch.H:170
Interval m_fixedDims
dimensions that are fixed, not interpolated
Definition: FourthOrderFillPatch.H:176
bool m_timeInterpDefined
whether m_timeInterpolator is defined
Definition: FourthOrderFillPatch.H:155
Fourth-order interpolation in space.
Definition: FourthOrderFineInterp.H:25
void fillRK4Intermediate(LevelData< FArrayBox > &a_fineData, Real a_timeInterpCoeff, int a_stage, int a_srcComp, int a_dstComp, int a_numComp)
Fill RK4 intermediate in time and space.
DisjointBoxLayout m_layout
box layout for this level
Definition: FourthOrderFillPatch.H:158
Structure for passing component ranges in code.
Definition: Interval.H:23
int m_numStates
number of variables
Definition: FourthOrderFillPatch.H:182
double Real
Definition: REAL.H:33
LevelData< FArrayBox > m_coarsenedFineData
data on ghosted coarsened fine grids at intermediate time in fillInterp
Definition: FourthOrderFillPatch.H:185
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
Time interpolator class using 4th-order Runge-Kutta.
Definition: TimeInterpolatorRK4.H:24
TimeInterpolatorRK4 & getTimeInterpolator()
Return time interpolator object.
FourthOrderFillPatch(const DisjointBoxLayout &a_thisDisjointBoxLayout, const DisjointBoxLayout &a_coarserDisjointBoxLayout, const int &a_numStates, const ProblemDomain &a_coarseDomain, const int &a_refineCoarse, const int &a_interpRadius, bool a_fixedTime=false, Interval a_fixedDims=Interval())
Full constructor.
Definition: FourthOrderFillPatch.H:37
void define(const DisjointBoxLayout &a_thisDisjointBoxLayout, const DisjointBoxLayout &a_coarserDisjointBoxLayout, const int &a_numStates, const ProblemDomain &a_coarseDomain, const int &a_refineCoarse, const int &a_interpRadius, bool a_fixedTime=false, Interval a_fixedDims=Interval())
Actual constructor.
int m_refineCoarse
refinement ratio between this level and the next coarser
Definition: FourthOrderFillPatch.H:173
int m_interpRadius
number of layers of fine ghost cells to fill by interpolation
Definition: FourthOrderFillPatch.H:167
DisjointBoxLayout m_coarseLayout
box layout for the coarse level
Definition: FourthOrderFillPatch.H:164
FourthOrderFillPatch()
Default constructor.
DisjointBoxLayout m_layoutCoarsened
this level's layout coarsened
Definition: FourthOrderFillPatch.H:161
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
void operator=(const FourthOrderFillPatch &)
bool m_defined
whether define() has been called
Definition: FourthOrderFillPatch.H:152
Fourth-order interpolation in time and space to ghost cells.
Definition: FourthOrderFillPatch.H:27
void fillInterp(LevelData< FArrayBox > &a_fineData, Real a_timeInterpCoeff, int a_srcComp, int a_dstComp, int a_numComp)
Interpolate in time and space.
FourthOrderFineInterp m_spaceInterpolator
interpolator in space
Definition: FourthOrderFillPatch.H:194
LayoutData< IntVectSet > m_coarsenedGhosts
coarsened ghost cells of fine patches
Definition: FourthOrderFillPatch.H:188