Chombo + EB  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() [1/3]

IndexML::IndexML ( )
inline

◆ IndexML() [2/3]

IndexML::IndexML ( const IndexML a_ml)
inline

◆ IndexML() [3/3]

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

Member Function Documentation

◆ define()

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

◆ operator==()

bool IndexML::operator== ( const IndexML p) const

Referenced by define().

◆ operator!=()

bool IndexML::operator!= ( const IndexML p) const

Referenced by define().

◆ operator>()

bool IndexML::operator> ( const IndexML p) const

Referenced by define().

◆ operator<()

bool IndexML::operator< ( const IndexML p) const

Referenced by define().

◆ level()

short IndexML::level ( ) const
inline

References m_lev.

◆ iv()

IntVect IndexML::iv ( ) const
inline

References m_iv.

Referenced by StencilTensorValue::scale(), and setBlock().

◆ block()

short IndexML::block ( ) const
inline

References m_blockID.

◆ setIV()

void IndexML::setIV ( IntVect  a_iv)
inline

References m_iv.

◆ setLevel()

void IndexML::setLevel ( short  a_lev)
inline

References m_lev.

◆ setBlock()

void IndexML::setBlock ( short  a_bid)
inline

References iv(), m_blockID, and operator<<.

Friends And Related Function Documentation

◆ operator<<

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

Member Data Documentation

◆ m_iv

IntVect IndexML::m_iv
protected

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

◆ m_lev

short IndexML::m_lev
protected

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

◆ m_blockID

short IndexML::m_blockID
protected

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


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