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

Class to describe a multi-block interpolation stencil. More...

#include <MBStencil.H>

Public Member Functions

 MBStencil ()
 null constructor leaves object in undefined state. More...
 
 MBStencil (RefCountedPtr< Vector< MBStencilElement > > a_vec)
 
virtual ~MBStencil ()
 destructor More...
 
virtual void define (RefCountedPtr< Vector< MBStencilElement > > a_vec)
 
const MBStencilElementoperator[] (int a_ind) const
 
MBStencilElementoperator[] (int a_ind)
 
int size () const
 

Protected Attributes

RefCountedPtr< Vector< MBStencilElement > > m_vec
 stencil elements More...
 

Detailed Description

Class to describe a multi-block interpolation stencil.

Constructor & Destructor Documentation

◆ MBStencil() [1/2]

MBStencil::MBStencil ( )

null constructor leaves object in undefined state.

◆ MBStencil() [2/2]

MBStencil::MBStencil ( RefCountedPtr< Vector< MBStencilElement > >  a_vec)

Constructor.

◆ ~MBStencil()

virtual MBStencil::~MBStencil ( )
virtual

destructor

Member Function Documentation

◆ define()

virtual void MBStencil::define ( RefCountedPtr< Vector< MBStencilElement > >  a_vec)
virtual

◆ operator[]() [1/2]

const MBStencilElement& MBStencil::operator[] ( int  a_ind) const
inline

References m_vec.

◆ operator[]() [2/2]

MBStencilElement& MBStencil::operator[] ( int  a_ind)
inline

References m_vec, and size().

◆ size()

int MBStencil::size ( ) const

Referenced by operator[]().

Member Data Documentation

◆ m_vec

RefCountedPtr< Vector<MBStencilElement> > MBStencil::m_vec
protected

stencil elements

Referenced by operator[]().


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