Public Methods |
| BaseEBCellFAB () |
| BaseEBCellFAB (const EBISBox &a_ebisBox, const Box &a_region, int a_nVar) |
void | define (const EBISBox &a_ebisBox, const Box &a_region, int a_nVar) |
virtual | ~BaseEBCellFAB () |
void | clear () |
void | setVal (T value) |
bool | isDefined () const |
int | nComp () const |
const Box & | getRegion () const |
const Box & | box () const |
const IntVectSet & | getMultiCells () const |
const BaseIVFAB< T > & | getMultiValuedFAB () const |
BaseIVFAB< T > & | getMultiValuedFAB () |
const BaseFab< T > & | getSingleValuedFAB () const |
BaseFab< T > & | getSingleValuedFAB () |
const T & | operator() (const VolIndex &a_ndin, int a_nVarLoc) const |
T & | operator() (const VolIndex &a_ndin, int a_nVarLoc) |
void | copy (const Box &RegionFrom, const Interval &destInt, const Box &RegionTo, const BaseEBCellFAB< T > &source, const Interval &srcInt) |
int | size (const Box &R, const Interval &comps) const |
int | regSize (const Box &R, const Interval &comps) const |
void | linearOut (void *buf, const Box &R, const Interval &comps) const |
void | regLinearOut (void *buf, const Box &R, const Interval &comps) const |
void | linearIn (void *buf, const Box &R, const Interval &comps) |
void | regLinearIn (void *buf, const Box &R, const Interval &comps) |
| BaseEBCellFAB (const Box &a_region, int a_nVar) |
| invalid but necessary for leveldata to compile
|
const EBISBox & | getEBISBox () const |
void | setCoveredCellVal (const T &a_val, const int &a_comp) |
Static Public Methods |
int | preAllocatable () |
Protected Methods |
void | setDefaultValues () |
Protected Attributes |
BaseIVFAB< T > | m_irrFAB |
| data at multi-valued cells
|
BaseFab< T > | m_regFAB |
| data at single-valued cells
|
EBISBox | m_ebisBox |
int | m_nComp |
Box | m_region |
| region over which the BaseEBCellFAB exists
|
BaseFab< bool > | m_isMultiValued |
| whether each given cell is multi-valued
|
bool | m_isDefined |
| has full define function been called?
|
Private Methods |
void | operator= (const BaseEBCellFAB< T > &ebcin) |
| BaseEBCellFAB (const BaseEBCellFAB< T > &ebcin) |
An BaseEBCellFAB is a templated holder for cell-centered data over the intersection of a box and an EbisBox. At every uncovered VolIndex in this intersection, the BaseEBCellFAB contains a specified number of data values. At singly valued cells, the data is stored internally in a BaseFab. At multiply-valued cells, the data is stored internally in an BaseIVFAB. BaseEBCellFAB provides indexing by VolIndex. This class does not provide a copy constructor or assignment operator for all the usual reasons.