#include <VolIndex.H>
Collaboration diagram for VolIndex:
Public Methods | |
VolIndex () | |
~VolIndex () | |
VolIndex & | operator= (const VolIndex &a_vofin) |
bool | operator== (const VolIndex &a_vofin) const |
const IntVect & | gridIndex () const |
const int & | cellIndex () const |
bool | isDefined () const |
VolIndex (const VolIndex &a_vofin) | |
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) |
Static Public Methods | |
int | initializeOffsets () |
Static Public Attributes | |
size_t | iv_offset |
size_t | index_offset |
Private Attributes | |
IntVect | m_iv |
int | m_cellIndex |
bool | m_isDefined |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|