Chombo + EB + MF
3.2
|
Class to manage coarse-to-fine spatial interpolation to all fine cells within a single particular coarse cell. More...
#include <FourthOrderMappedCFInterpStencil.H>
Public Member Functions | |
FourthOrderMappedCFInterpStencil () | |
Default constructor. More... | |
FourthOrderMappedCFInterpStencil (const IntVect &a_bdryOffset, int a_degree=3, Interval a_fixedDims=Interval()) | |
Full constructor. More... | |
~FourthOrderMappedCFInterpStencil () | |
Destructor. More... | |
void | define (const IntVect &a_bdryOffset, int a_degree=3, Interval a_fixedDims=Interval()) |
Actual constructor. More... | |
const Vector< int > & | indices () const |
const Vector< int > & | indicesFull () const |
const Vector< IntVect > & | cells () const |
const Vector< Real > & | avgPowers () const |
Protected Attributes | |
int | m_degree |
max degree of polynomials More... | |
Interval | m_fixedDims |
dimensions that are fixed, not interpolated More... | |
int | m_nInterpDims |
number of dimensions that are interpolated: SpaceDim - m_fixedDims.size() More... | |
IntVect | m_bdryOffset |
displacement from domain boundary in each dimension, in range -(a_degree-1):(a_degree-1) More... | |
int | m_stencilSize |
number of coarse cells in the stencil More... | |
int | m_numNonzeroPowers |
number of nonzero powers More... | |
Vector< IntVect > | m_stencilCells |
length m_stencilSize, lists stencil cells More... | |
Vector< int > | m_indices |
length m_stencilSize*(SpaceDim-m_fixedDims.size()), lists indices of stencil cells, grouped by cell More... | |
Vector< int > | m_indicesFull |
length m_stencilSize*SpaceDim, lists indices of stencil cells, grouped by cell More... | |
Vector< Real > | m_avgPowers |
length m_stencilSize*m_numNonzeroPowers, lists averages of <(x-x0)^p>j for stencil cells j, grouped by cell More... | |
bool | m_defined |
whether define() has been called More... | |
Private Member Functions | |
void | operator= (const FourthOrderMappedCFInterpStencil &a_input) |
FourthOrderMappedCFInterpStencil (const FourthOrderMappedCFInterpStencil &a_input) | |
Class to manage coarse-to-fine spatial interpolation to all fine cells within a single particular coarse cell.
FourthOrderMappedCFInterpStencil::FourthOrderMappedCFInterpStencil | ( | ) |
Default constructor.
Object requires define() to be called before all other functions.
|
inline |
Full constructor.
a_bdryOffset | in range -(a_degree-1):(a_degree-1), specifies displacement to boundary in each dimension |
a_degree | max degree of polynomials |
a_fixedDims | dimensions that are fixed, not interpolated |
References define(), and ~FourthOrderMappedCFInterpStencil().
FourthOrderMappedCFInterpStencil::~FourthOrderMappedCFInterpStencil | ( | ) |
Destructor.
Destroys all objects created by define(). Passed in data references of define() are left alone.
Referenced by FourthOrderMappedCFInterpStencil().
|
private |
void FourthOrderMappedCFInterpStencil::define | ( | const IntVect & | a_bdryOffset, |
int | a_degree = 3 , |
||
Interval | a_fixedDims = Interval() |
||
) |
Actual constructor.
Set up object.
a_bdryOffset | in range -(a_degree-1):(a_degree-1), specifies displacement to boundary in each dimension |
a_degree | max degree of polynomials |
a_fixedDims | dimensions that are fixed, not interpolated |
Referenced by FourthOrderMappedCFInterpStencil().
|
inline |
References m_indicesFull.
References m_stencilCells.
References m_avgPowers.
|
private |
|
protected |
max degree of polynomials
|
protected |
dimensions that are fixed, not interpolated
|
protected |
number of dimensions that are interpolated: SpaceDim - m_fixedDims.size()
|
protected |
displacement from domain boundary in each dimension, in range -(a_degree-1):(a_degree-1)
|
protected |
number of coarse cells in the stencil
|
protected |
number of nonzero powers
length m_stencilSize, lists stencil cells
Referenced by cells().
|
protected |
length m_stencilSize*(SpaceDim-m_fixedDims.size()), lists indices of stencil cells, grouped by cell
Referenced by indices().
|
protected |
length m_stencilSize*SpaceDim, lists indices of stencil cells, grouped by cell
Referenced by indicesFull().
length m_stencilSize*m_numNonzeroPowers, lists averages of <(x-x0)^p>j for stencil cells j, grouped by cell
Referenced by avgPowers().
|
protected |
whether define() has been called