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

#include <Stencil.H>

Public Member Functions

 IndexML ()
 
 IndexML (const IndexML &a_ml)
 
 IndexML (IntVect a_iv, short a_lev)
 
void define (IntVect a_iv, short a_lev, short a_blockid=0)
 
bool operator== (const IndexML &p) const
 
bool operator!= (const IndexML &p) const
 
bool operator> (const IndexML &p) const
 
bool operator< (const IndexML &p) const
 
short level () const
 
IntVect iv () const
 
short block () const
 
void setIV (IntVect a_iv)
 
void setLevel (short a_lev)
 
void setBlock (short a_bid)
 

Protected Attributes

IntVect m_iv
 
short m_lev
 
short m_blockID
 

Friends

std::ostream & operator<< (std::ostream &os, const IndexML &iv)
 

Detailed Description

Encapsulate a multilevel index

Constructor & Destructor Documentation

IndexML::IndexML ( )
inline
IndexML::IndexML ( const IndexML a_ml)
inline
IndexML::IndexML ( IntVect  a_iv,
short  a_lev 
)
inline

Member Function Documentation

void IndexML::define ( IntVect  a_iv,
short  a_lev,
short  a_blockid = 0 
)
inline

References m_blockID, m_iv, and m_lev.

bool IndexML::operator== ( const IndexML p) const
bool IndexML::operator!= ( const IndexML p) const
bool IndexML::operator> ( const IndexML p) const
bool IndexML::operator< ( const IndexML p) const
short IndexML::level ( ) const
inline

References m_lev.

IntVect IndexML::iv ( ) const
inline

References m_iv.

short IndexML::block ( ) const
inline

References m_blockID.

void IndexML::setIV ( IntVect  a_iv)
inline

References m_iv.

void IndexML::setLevel ( short  a_lev)
inline

References m_lev.

void IndexML::setBlock ( short  a_bid)
inline

References m_blockID.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const IndexML iv 
)
friend

Member Data Documentation

IntVect IndexML::m_iv
protected

Referenced by define(), iv(), and setIV().

short IndexML::m_lev
protected

Referenced by define(), level(), and setLevel().

short IndexML::m_blockID
protected

Referenced by block(), define(), and setBlock().


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