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)
52 define(a_thisDisjointBoxLayout, a_coarserDisjointBoxLayout,
53 a_numStates, a_coarseDomain, a_refineCoarse, a_interpRadius,
73 const int& a_numStates,
77 const int& a_refineCoarse,
79 const int& a_interpRadius,
81 bool a_fixedTime =
false);
92 Real a_timeInterpCoeff,
111 Real a_timeInterpCoeff,
207 #include "NamespaceFooter.H" TimeInterpolatorRK4 m_timeInterpolator
interpolator in time
Definition: FourthOrderFillPatch.H:181
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)
Full constructor.
Definition: FourthOrderFillPatch.H:37
~FourthOrderFillPatch()
Destructor.
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:130
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:166
bool m_timeInterpDefined
whether m_timeInterpolator is defined
Definition: FourthOrderFillPatch.H:151
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:154
int m_numStates
number of variables
Definition: FourthOrderFillPatch.H:172
double Real
Definition: REAL.H:33
LevelData< FArrayBox > m_coarsenedFineData
data on ghosted coarsened fine grids at intermediate time in fillInterp
Definition: FourthOrderFillPatch.H:175
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:31
Time interpolator class using 4th-order Runge-Kutta.
Definition: TimeInterpolatorRK4.H:24
TimeInterpolatorRK4 & getTimeInterpolator()
Return time interpolator object.
int m_refineCoarse
refinement ratio between this level and the next coarser
Definition: FourthOrderFillPatch.H:169
int m_interpRadius
number of layers of fine ghost cells to fill by interpolation
Definition: FourthOrderFillPatch.H:163
DisjointBoxLayout m_coarseLayout
box layout for the coarse level
Definition: FourthOrderFillPatch.H:160
FourthOrderFillPatch()
Default constructor.
DisjointBoxLayout m_layoutCoarsened
this level's layout coarsened
Definition: FourthOrderFillPatch.H:157
void operator=(const FourthOrderFillPatch &)
bool m_defined
whether define() has been called
Definition: FourthOrderFillPatch.H:148
Fourth-order interpolation in time and space to ghost cells.
Definition: FourthOrderFillPatch.H:27
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)
Actual constructor.
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:184
LayoutData< IntVectSet > m_coarsenedGhosts
coarsened ghost cells of fine patches
Definition: FourthOrderFillPatch.H:178