Chombo + EB
3.2
|
Volume of Fluid Index. More...
#include <VolIndex.H>
Public Member Functions | |
VolIndex () | |
virtual | ~VolIndex () |
bool | operator== (const VolIndex &a_vofin) const |
const IntVect & | gridIndex () const |
int | cellIndex () const |
bool | isDefined () const |
void | define (const VolIndex &a_vofin) |
VolIndex (const IntVect &a_ix, const int &a_vofID) | |
void | define (const IntVect &a_ix, const int &a_vofID) |
bool | operator< (const VolIndex &rhs) const |
bool | operator!= (const VolIndex &rhs) const |
void | shift (const IntVect &a_iv) |
for stencil gymnastics More... | |
int | linearSize () const |
void | linearOut (void *const a_outBuf) const |
void | linearIn (const void *const inBuf) |
Public Member Functions inherited from BaseIndex | |
BaseIndex () | |
virtual | ~BaseIndex () |
Static Public Member Functions | |
static int | initializeOffsets () |
Static Public Attributes | |
static size_t | iv_offset |
static size_t | index_offset |
Private Attributes | |
IntVect | m_iv |
int | m_cellIndex |
bool | m_isDefined |
Volume of Fluid Index.
VolIndex is a very lightweight object to be used to distinguish between volumes of fluid in a cell. We use VolIndex for array indexing. Non-trivial constructors are all private because only EBISBox is supposed to make valid volume indicies.
|
inline |
|
virtual |
|
inline |
|
inline |
References m_cellIndex, and m_iv.
|
inline |
References m_iv.
Referenced by BaseEBCellFAB< Real >::assign(), MiniIVFAB< Real >::copy(), BaseEBCellFAB< Real >::dataType(), BaseEBCellFAB< Real >::fill(), MiniIVFAB< Real >::forall(), BaseIVFAB< Real >::getIndex(), MiniIVFAB< Real >::linearOut(), BaseEBCellFAB< Real >::offset(), BaseEBCellFAB< Real >::operator()(), and EBAMRPoissonOp::StencilIndexComparator::operator()().
|
inline |
References m_cellIndex.
Referenced by BaseIVFAB< Real >::getIndex(), and EBAMRPoissonOp::StencilIndexComparator::operator()().
|
inline |
References m_isDefined.
void VolIndex::define | ( | const VolIndex & | a_vofin | ) |
|
inline |
References m_cellIndex, m_isDefined, and m_iv.
|
inline |
References IntVect::lexLT(), m_cellIndex, and m_iv.
|
inline |
int VolIndex::linearSize | ( | ) | const |
/name linearization routines
Referenced by IrregTag::Entry::linearIn(), IrregTag::Entry::linearOut(), and IrregTag::Entry::linearSize().
void VolIndex::linearOut | ( | void *const | a_outBuf | ) | const |
Referenced by IrregTag::Entry::linearOut().
void VolIndex::linearIn | ( | const void *const | inBuf | ) |
Referenced by IrregTag::Entry::linearIn().
|
static |
|
static |
|
static |
|
private |
Referenced by define(), gridIndex(), operator<(), operator==(), and shift().
|
private |
Referenced by cellIndex(), define(), operator<(), and operator==().
|
private |
Referenced by define(), and isDefined().