Chombo + EB + MF  3.2
Public Member Functions | Protected Attributes | List of all members
MBVectorStencilElement Class Reference

Class to describe a single element of a multi-block interpolation stencil. More...

#include <MBVectorStencilElement.H>

Public Member Functions

 MBVectorStencilElement ()
 null constructor leaves object in undefined state. More...
 
 MBVectorStencilElement (const IntVect &a_cell, int a_block, Tuple< Real, SpaceDim *SpaceDim > a_weight)
 
 MBVectorStencilElement (const IntVect &a_cell, int a_block)
 
virtual void define (const IntVect &a_cell, int a_block, Tuple< Real, SpaceDim *SpaceDim > a_weight)
 
virtual void define (const IntVect &a_cell, int a_block)
 
bool operator== (const MBVectorStencilElement &a_input) const
 
const IntVectcell () const
 
int block () const
 
Tuple< Real, SpaceDim *SpaceDimweight () const
 
void setWeight (Tuple< Real, SpaceDim *SpaceDim > a_weight)
 

Protected Attributes

IntVect m_cell
 index of this stencil cell More...
 
int m_block
 block containing this stencil cell More...
 
Tuple< Real, SpaceDim *SpaceDimm_weight
 weight of this cell in the stencil More...
 

Detailed Description

Class to describe a single element of a multi-block interpolation stencil.

Constructor & Destructor Documentation

MBVectorStencilElement::MBVectorStencilElement ( )

null constructor leaves object in undefined state.

MBVectorStencilElement::MBVectorStencilElement ( const IntVect a_cell,
int  a_block,
Tuple< Real, SpaceDim *SpaceDim a_weight 
)

Constructor.

MBVectorStencilElement::MBVectorStencilElement ( const IntVect a_cell,
int  a_block 
)

Member Function Documentation

virtual void MBVectorStencilElement::define ( const IntVect a_cell,
int  a_block,
Tuple< Real, SpaceDim *SpaceDim a_weight 
)
virtual
virtual void MBVectorStencilElement::define ( const IntVect a_cell,
int  a_block 
)
virtual
bool MBVectorStencilElement::operator== ( const MBVectorStencilElement a_input) const
const IntVect & MBVectorStencilElement::cell ( ) const
inline

References m_cell.

int MBVectorStencilElement::block ( ) const
inline

References m_block.

Tuple< Real, SpaceDim *SpaceDim > MBVectorStencilElement::weight ( ) const
inline

References m_weight.

void MBVectorStencilElement::setWeight ( Tuple< Real, SpaceDim *SpaceDim a_weight)
inline

References m_weight.

Member Data Documentation

IntVect MBVectorStencilElement::m_cell
protected

index of this stencil cell

Referenced by cell().

int MBVectorStencilElement::m_block
protected

block containing this stencil cell

Referenced by block().

Tuple<Real, SpaceDim*SpaceDim> MBVectorStencilElement::m_weight
protected

weight of this cell in the stencil

Referenced by setWeight(), and weight().


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