11 #ifndef _FOURTHORDERMAPPEDCFINTERP_H_ 12 #define _FOURTHORDERMAPPEDCFINTERP_H_ 20 #include "NamespaceHeader.H" 55 int a_coarseGhostsFill = 0,
80 const Box& a_coarseBox);
201 #include "NamespaceFooter.H" Fourth-order interpolation in space.
Definition: FourthOrderMappedCFInterp.H:26
LevelData< FArrayBox > m_coeffs
Definition: FourthOrderMappedCFInterp.H:178
void operator=(const FourthOrderMappedCFInterp &)
~FourthOrderMappedCFInterp()
Destructor.
Box m_fineBox
IntVect::Zero to m_refineVect-interpUnit.
Definition: FourthOrderMappedCFInterp.H:154
void setCrFnLevUandJU(const LevelData< FArrayBox > &a_CrFnLevU, const LevelData< FArrayBox > &a_CrFnLevJU)
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
LevelData< FArrayBox > m_coeff0
Definition: FourthOrderMappedCFInterp.H:176
LevelData< FArrayBox > m_coarseData
copied coarse data in interpToFine, lives on m_layoutCoarsened
Definition: FourthOrderMappedCFInterp.H:157
ProblemDomain m_coarseDomain
Definition: FourthOrderMappedCFInterp.H:94
BaseFab< FourthOrderMappedCFInterpStencil * > m_stencils
all possible stencils, on (-m_maxStencilDist:+m_maxStencilDist)^SpaceDim
Definition: FourthOrderMappedCFInterp.H:136
Data that maintains a one-to-one mapping of T to the boxes in a BoxLayout.
Definition: BoxLayout.H:26
DisjointBoxLayout m_layout
Box layout for finer level.
Definition: FourthOrderMappedCFInterp.H:130
IntVect m_interpUnit
0 in m_fixedDims, 1 in other dimensions
Definition: FourthOrderMappedCFInterp.H:109
int m_coarseGhostsFill
number of layers of ghost cells at the coarser level whose fine cells are to be filled in ...
Definition: FourthOrderMappedCFInterp.H:127
void getGradient(FArrayBox &a_gradFab, const FArrayBox &a_srcFab, const Box &a_bx)
int m_refineCoarse
Refinement ratio between this level and the next coarser.
Definition: FourthOrderMappedCFInterp.H:97
void setStencil(BaseFab< IntVect > &a_stencil, const Box &a_coarseBox)
IntVect m_ghostVect
ghost vector on m_coarseData
Definition: FourthOrderMappedCFInterp.H:148
int m_degree
max degree of approximations
Definition: FourthOrderMappedCFInterp.H:121
LevelData< FArrayBox > m_B
B(i) = sum_{k in F(i)} (<J*zvec**pvec>k); m_numNonzeroPowers components.
Definition: FourthOrderMappedCFInterp.H:163
int m_nInterpDims
number of dimensions that are interpolated: SpaceDim - m_fixedDims.size()
Definition: FourthOrderMappedCFInterp.H:103
int m_numNonzeroPowers
number of nonzero powers
Definition: FourthOrderMappedCFInterp.H:124
FArrayBox m_fineAvgPowers
<(z - z0)^p>k for each fine cell k.
Definition: FourthOrderMappedCFInterp.H:142
LevelData< FArrayBox > m_JfineAvgPowers
<J*(z - z0)^p>k for each fine cell k.
Definition: FourthOrderMappedCFInterp.H:160
ProblemDomain m_domain
Problem domain - index space for this level.
Definition: FourthOrderMappedCFInterp.H:91
bool m_haveJ
J has been set, together with all the arrays calculated from J.
Definition: FourthOrderMappedCFInterp.H:189
bool m_defined
define() has been called
Definition: FourthOrderMappedCFInterp.H:186
LayoutData< BaseFab< Vector< Real > *> *> m_A1
Vector<Real> *m_A1[dit](cell, 0) has a component for each stencil cell.
Definition: FourthOrderMappedCFInterp.H:183
LevelData< FArrayBox > m_QRtau
Definition: FourthOrderMappedCFInterp.H:172
IntVect m_coarseGhostVect
ghost vector on coarsened fine data
Definition: FourthOrderMappedCFInterp.H:151
Structure for passing component ranges in code.
Definition: Interval.H:23
LevelData< FArrayBox > m_normB
2-norm of B(i); 1 component
Definition: FourthOrderMappedCFInterp.H:166
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
LevelData< FArrayBox > m_FnLevJ
Definition: FourthOrderMappedCFInterp.H:174
LevelData< BaseFab< IntVect > > m_stencilHere
on m_layoutCoarsened; which stencil to use at each coarse point
Definition: FourthOrderMappedCFInterp.H:139
void setJ(const LevelData< FArrayBox > &a_FnLevJ, const LevelData< FArrayBox > &a_CrFnLevJ)
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:469
Box m_stencilBox
(-m_maxStencilDist*interpUnit, m_maxStencilDist*interpUnit)
Definition: FourthOrderMappedCFInterp.H:118
FourthOrderMappedCFInterp()
Default constructor.
FArrayBox m_gradFineAvgPowers
gradient of m_fineAvgPowers
Definition: FourthOrderMappedCFInterp.H:145
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
Interval m_fixedDims
dimensions that are fixed, not interpolated
Definition: FourthOrderMappedCFInterp.H:100
Definition: FArrayBox.H:45
LevelData< FArrayBox > m_alpha
Definition: FourthOrderMappedCFInterp.H:168
void define(const DisjointBoxLayout &a_layout, int a_numStates, int a_refineCoarse, const ProblemDomain &a_domain, int a_coarseGhostsFill=0, Interval a_fixedDims=Interval())
Actual constructor.
int m_numStates
Number of variables.
Definition: FourthOrderMappedCFInterp.H:112
bool m_haveCoeffs
coefficients has been set, from call to setCrFnLevUandJU
Definition: FourthOrderMappedCFInterp.H:192
DisjointBoxLayout m_layoutCoarsened
Box layout for coarser level: m_layout coarsened by m_refineVect.
Definition: FourthOrderMappedCFInterp.H:133
IntVect m_refineVect
1 in m_fixedDims, m_refineCoarse in other dimensions
Definition: FourthOrderMappedCFInterp.H:106
LayoutData< BaseFab< Vector< Real > *> *> m_QRmatrix
Definition: FourthOrderMappedCFInterp.H:180
void interpToFineJU(LevelData< FArrayBox > &a_fineJU)
int m_maxStencilDist
maximum distance of stencil from domain boundary
Definition: FourthOrderMappedCFInterp.H:115
LevelData< FArrayBox > m_beta
Definition: FourthOrderMappedCFInterp.H:170