Chombo + EB
3.0
|
Fourth-order interpolation in space on a single patch. More...
#include <FourthOrderPatchInterp.H>
Public Member Functions | |
FourthOrderPatchInterp () | |
Default constructor. More... | |
virtual | ~FourthOrderPatchInterp () |
Destructor. More... | |
virtual void | define (const ProblemDomain &a_domain, const int &a_refineCoarse, const int &a_maxStencilDist) |
Actual constructor. More... | |
virtual void | setCoarseBox (const Box &a_coarseBox) |
Set the coarse box before calling setStencil or interpToFine. More... | |
virtual void | setStencil (BaseFab< IntVect > &a_stencil) |
Set stencil for current coarse box and domain. More... | |
virtual void | interpToFine (FArrayBox &a_fine, const FArrayBox &a_coarse, const BaseFab< IntVect > &a_stencils) |
Interpolate in space. More... | |
virtual void | interpToFine (FArrayBox &a_fine, const FArrayBox &a_coarse, const BaseFab< IntVect > &a_stencils, const IntVectSet &a_ivs) |
Interpolate in space. More... | |
Protected Attributes | |
BaseFab< FourthOrderInterpStencil * > | m_stencils |
all possible stencils, on (-m_maxStencilDist:+m_maxStencilDist)^SpaceDim More... | |
ProblemDomain | m_domain |
Problem domain - index space for this level. More... | |
ProblemDomain | m_coarseDomain |
int | m_refineCoarse |
Refinement ratio between this level and the next coarser. More... | |
int | m_maxStencilDist |
maximum distance of stencil from domain boundary More... | |
int | m_degree |
max degree of approximations More... | |
bool | m_defined |
define() has been called More... | |
Box | m_coarseBox |
current coarse box More... | |
bool | m_isCoarseBoxSet |
m_coarseBox is set More... | |
Private Member Functions | |
void | operator= (const FourthOrderPatchInterp &a_input) |
FourthOrderPatchInterp (const FourthOrderPatchInterp &a_input) | |
Fourth-order interpolation in space on a single patch.
FourthOrderPatchInterp::FourthOrderPatchInterp | ( | ) |
Default constructor.
Object requires define() to be called before all other functions.
|
virtual |
|
inlineprivate |
References MayDay::Error().
|
virtual |
Actual constructor.
Set up object.
a_domain | problem domain on this level |
a_refineCoarse | refinement ratio between this level and next coarser level |
a_maxStencilDist | maximum distance of stencil from domain boundary |
|
virtual |
Set the coarse box before calling setStencil or interpToFine.
Set stencil for current coarse box and domain.
Set a_stencil for m_coarseBox.
|
virtual |
Interpolate in space.
Interpolate in space to a_fine from a_coarse.
a_fine | interpolated solution on this level |
a_coarse | coarse solution |
a_stencils | stencils |
|
virtual |
Interpolate in space.
Interpolate in space to a_fine from a_coarse at fine cells within the coarse cells listed in a_ivs.
a_fine | interpolated solution on this level |
a_coarse | coarse solution |
a_stencils | stencils |
a_ivs | we fill in fine cells within these coarse cells |
|
inlineprivate |
References MayDay::Error().
|
protected |
all possible stencils, on (-m_maxStencilDist:+m_maxStencilDist)^SpaceDim
|
protected |
Problem domain - index space for this level.
|
protected |
|
protected |
Refinement ratio between this level and the next coarser.
|
protected |
maximum distance of stencil from domain boundary
|
protected |
max degree of approximations
|
protected |
define() has been called
|
protected |
current coarse box
|
protected |
m_coarseBox is set