FourthOrderMappedCFInterpStencil Class Reference

#include <FourthOrderMappedCFInterpStencil.H>

List of all members.


Detailed Description

Class to manage coarse-to-fine spatial interpolation to all fine cells within a single particular coarse cell.

Public Member Functions

 FourthOrderMappedCFInterpStencil ()
 Default constructor.
 FourthOrderMappedCFInterpStencil (const IntVect &a_bdryOffset, int a_degree=3, Interval a_fixedDims=Interval())
 Full constructor.
 ~FourthOrderMappedCFInterpStencil ()
 Destructor.
void define (const IntVect &a_bdryOffset, int a_degree=3, Interval a_fixedDims=Interval())
 Actual constructor.
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
Interval m_fixedDims
 dimensions that are fixed, not interpolated
int m_nInterpDims
 number of dimensions that are interpolated: SpaceDim - m_fixedDims.size()
IntVect m_bdryOffset
 displacement from domain boundary in each dimension, in range -(a_degree-1):(a_degree-1)
int m_stencilSize
 number of coarse cells in the stencil
int m_numNonzeroPowers
 number of nonzero powers
Vector< IntVectm_stencilCells
 length m_stencilSize, lists stencil cells
Vector< int > m_indices
 length m_stencilSize*(SpaceDim-m_fixedDims.size()), lists indices of stencil cells, grouped by cell
Vector< int > m_indicesFull
 length m_stencilSize*SpaceDim, lists indices of stencil cells, grouped by cell
Vector< Realm_avgPowers
 length m_stencilSize*m_numNonzeroPowers, lists averages of <(x-x0)^p>j for stencil cells j, grouped by cell
bool m_defined
 whether define() has been called

Private Member Functions

void operator= (const FourthOrderMappedCFInterpStencil &a_input)
 FourthOrderMappedCFInterpStencil (const FourthOrderMappedCFInterpStencil &a_input)

Constructor & Destructor Documentation

FourthOrderMappedCFInterpStencil::FourthOrderMappedCFInterpStencil (  ) 

Default constructor.

Object requires define() to be called before all other functions.

FourthOrderMappedCFInterpStencil::FourthOrderMappedCFInterpStencil ( const IntVect a_bdryOffset,
int  a_degree = 3,
Interval  a_fixedDims = Interval() 
) [inline]

Full constructor.

Parameters:
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().

FourthOrderMappedCFInterpStencil::~FourthOrderMappedCFInterpStencil (  ) 

Destructor.

Destroys all objects created by define(). Passed in data references of define() are left alone.

FourthOrderMappedCFInterpStencil::FourthOrderMappedCFInterpStencil ( const FourthOrderMappedCFInterpStencil a_input  )  [private]


Member Function Documentation

void FourthOrderMappedCFInterpStencil::define ( const IntVect a_bdryOffset,
int  a_degree = 3,
Interval  a_fixedDims = Interval() 
)

Actual constructor.

Set up object.

Parameters:
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().

const Vector<int>& FourthOrderMappedCFInterpStencil::indices (  )  const [inline]

References m_indices.

const Vector<int>& FourthOrderMappedCFInterpStencil::indicesFull (  )  const [inline]

References m_indicesFull.

const Vector<IntVect>& FourthOrderMappedCFInterpStencil::cells (  )  const [inline]

References m_stencilCells.

const Vector<Real>& FourthOrderMappedCFInterpStencil::avgPowers (  )  const [inline]

References m_avgPowers.

void FourthOrderMappedCFInterpStencil::operator= ( const FourthOrderMappedCFInterpStencil a_input  )  [private]


Member Data Documentation

max degree of polynomials

dimensions that are fixed, not interpolated

number of dimensions that are interpolated: SpaceDim - m_fixedDims.size()

displacement from domain boundary in each dimension, in range -(a_degree-1):(a_degree-1)

number of coarse cells in the stencil

number of nonzero powers

length m_stencilSize, lists stencil cells

Referenced by cells().

length m_stencilSize*(SpaceDim-m_fixedDims.size()), lists indices of stencil cells, grouped by cell

Referenced by indices().

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().

whether define() has been called


The documentation for this class was generated from the following file:

Generated on Wed Aug 23 03:27:08 2017 for Chombo + EB + MF by  doxygen 1.5.5