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

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

#include <MBStencilElement.H>

Public Member Functions

 MBStencilElement ()
 null constructor leaves object in undefined state. More...
 
 MBStencilElement (const IntVect &a_cell, int a_block, Real a_weight=0.)
 
virtual void define (const IntVect &a_cell, int a_block, Real a_weight=0.)
 
bool operator== (const MBStencilElement &a_input) const
 
const IntVectcell () const
 
int block () const
 
Real weight () const
 
void setWeight (Real a_weight)
 

Protected Attributes

IntVect m_cell
 index of this stencil cell More...
 
int m_block
 block containing this stencil cell More...
 
Real m_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

MBStencilElement::MBStencilElement ( )

null constructor leaves object in undefined state.

MBStencilElement::MBStencilElement ( const IntVect a_cell,
int  a_block,
Real  a_weight = 0. 
)

Constructor.

Member Function Documentation

virtual void MBStencilElement::define ( const IntVect a_cell,
int  a_block,
Real  a_weight = 0. 
)
virtual
bool MBStencilElement::operator== ( const MBStencilElement a_input) const
const IntVect & MBStencilElement::cell ( ) const
inline

References m_cell.

int MBStencilElement::block ( ) const
inline

References m_block.

Real MBStencilElement::weight ( ) const
inline

References m_weight.

void MBStencilElement::setWeight ( Real  a_weight)
inline

References m_weight.

Member Data Documentation

IntVect MBStencilElement::m_cell
protected

index of this stencil cell

Referenced by cell().

int MBStencilElement::m_block
protected

block containing this stencil cell

Referenced by block().

Real MBStencilElement::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: