Chombo + EB
3.0
|
Array defined at the Faces of an Box in an EBISBox. More...
#include <BaseEBFaceFAB.H>
Public Member Functions | |
int | numDataTypes () const |
for AggStencil More... | |
int | dataType (const BaseIndex &a_baseInd) const |
for AggStencil More... | |
long | offset (const BaseIndex &a_baseInd, const int a_ivar) const |
for AggStencil More... | |
T * | dataPtr (int a_dataType, int a_ivar) |
for AggStencil More... | |
const T * | dataPtr (int a_dataType, int a_ivar) const |
BaseEBFaceFAB () | |
BaseEBFaceFAB (const EBISBox &a_ebisBox, const Box &a_region, int a_iDir, int a_nVar) | |
virtual void | define (const EBISBox &a_ebisBox, const Box &a_region, int a_iDir, int a_nVar) |
virtual | ~BaseEBFaceFAB () |
void | clear () |
void | setVal (const T &value) |
void | setVal (int ivar, const T &value) |
bool | isDefined () const |
int | nComp () const |
const MiniIFFAB< T > & | getMultiValuedFAB () const |
MiniIFFAB< T > & | getMultiValuedFAB () |
const BaseFab< T > & | getSingleValuedFAB () const |
BaseFab< T > & | getSingleValuedFAB () |
int | direction () const |
const Box & | getRegion () const |
const Box & | getCellRegion () const |
T & | operator() (const FaceIndex &a_facein, int a_nVarLoc) |
const T & | operator() (const FaceIndex &a_facein, int a_nVarLoc) const |
void | copy (const Box &RegionFrom, const Interval &destInt, const Box &RegionTo, const BaseEBFaceFAB< T > &source, const Interval &srcInt) |
BaseEBFaceFAB< T > & | copy (const BaseEBFaceFAB< T > &source) |
int | size (const Box &R, const Interval &comps) const |
void | linearOut (void *buf, const Box &R, const Interval &comps) const |
void | linearIn (void *buf, const Box &R, const Interval &comps) |
BaseEBFaceFAB (const Box &a_region, int a_nVar) | |
Invalid but necessary for LevelData<T> to compile. More... | |
const EBISBox & | getEBISBox () const |
void | setCoveredFaceVal (const T &a_val, const int &a_comp, const bool &a_doMulti=true) |
Static Public Member Functions | |
static bool | preAllocatable () |
Protected Attributes | |
MiniIFFAB< T > | m_irrFAB |
data at faces which abut multi-valued cells More... | |
BaseFab< T > | m_regFAB |
data at faces between two single-valued cells More... | |
int | m_nComp |
number of data values at each face in BaseEBFaceFAB More... | |
int | m_iDir |
Box | m_regionFace |
the face-centered region over which the BaseEBFaceFAB lives More... | |
Box | m_region |
the cell-centered region over which the BaseEBFaceFAB lives More... | |
bool | m_isDefined |
has the full define function been called for the BaseEBFaceFAB? More... | |
EBISBox | m_ebisBox |
Private Member Functions | |
void | setDefaultValues () |
void | operator= (const BaseEBFaceFAB< T > &ebcin) |
BaseEBFaceFAB (const BaseEBFaceFAB< T > &ebcin) | |
Array defined at the Faces of an Box in an EBISBox.
An BaseEBFaceFAB is a templated holder for face-centered data over a region which consists of the intersection of a face-centered box and an EBISBox. At every uncovered VoF in this intersection, the BaseEBFaceFAB contains a specified number of data values. At singly valued faces, the data is stored internally in a BaseFab. At multiply-valued faces, the data is stored internally in an INFab. A multiply-valued face is defined to be a face which abuts at least one multiply-valued Face. BaseEBFaceFAB provides indexing by Face. This class does not provide a copy constructor or assignment operator for all the usual reasons.
|
inline |
Referenced by BaseEBFaceFAB< Real >::dataPtr().
|
inline |
Box going into this needs to be cell-centered. Data will exist over the surrounding nodes of the box.
|
inlinevirtual |
Referenced by BaseEBFaceFAB< Real >::dataPtr().
|
inline |
Invalid but necessary for LevelData<T> to compile.
|
inlineprivate |
|
inline |
for AggStencil
|
inline |
for AggStencil
|
inline |
for AggStencil
|
inline |
for AggStencil
|
inline |
|
inlinevirtual |
Box going into this needs to be cell-centered. Data will exist over the surrounding nodes of the box.
Reimplemented in EBFaceFAB.
Referenced by BaseEBFaceFAB< Real >::dataPtr().
|
inline |
Referenced by BaseEBFaceFAB< Real >::dataPtr().
|
inline |
Referenced by BaseEBFaceFAB< Real >::dataPtr().
|
inline |
|
inline |
Referenced by BaseEBFaceFAB< Real >::copy(), and BaseEBFaceFAB< Real >::dataPtr().
|
inline |
Referenced by BaseEBFaceFAB< Real >::dataPtr().
|
inline |
Referenced by BaseEBFaceFAB< Real >::dataPtr().
|
inline |
|
inline |
Referenced by BaseEBFaceFAB< Real >::dataPtr().
|
inline |
|
inline |
Referenced by BaseEBFaceFAB< Real >::dataPtr().
|
inline |
Returns the FACE-CENTERED region of the fab
Referenced by BaseEBFaceFAB< Real >::dataPtr().
|
inline |
Returns the CELL-CENTERED region of the fab
Referenced by BaseEBFaceFAB< Real >::dataPtr().
|
inline |
Referenced by BaseEBFaceFAB< Real >::dataPtr().
|
inline |
|
inlinestatic |
|
inline |
Box going into this should be CELL CENTERED. copy done over surrounding nodes.
Referenced by BaseEBFaceFAB< Real >::preAllocatable().
BaseEBFaceFAB< T > & BaseEBFaceFAB< T >::copy | ( | const BaseEBFaceFAB< T > & | source | ) |
int BaseEBFaceFAB< T >::size | ( | const Box & | R, |
const Interval & | comps | ||
) | const |
Referenced by BaseEBFaceFAB< Real >::preAllocatable().
void BaseEBFaceFAB< T >::linearOut | ( | void * | buf, |
const Box & | R, | ||
const Interval & | comps | ||
) | const |
Referenced by BaseEBFaceFAB< Real >::preAllocatable().
void BaseEBFaceFAB< T >::linearIn | ( | void * | buf, |
const Box & | R, | ||
const Interval & | comps | ||
) |
Referenced by BaseEBFaceFAB< Real >::preAllocatable().
|
inline |
Referenced by BaseEBFaceFAB< Real >::BaseEBFaceFAB().
void BaseEBFaceFAB< T >::setCoveredFaceVal | ( | const T & | a_val, |
const int & | a_comp, | ||
const bool & | a_doMulti = true |
||
) |
Referenced by BaseEBFaceFAB< Real >::BaseEBFaceFAB().
|
inlineprivate |
|
inlineprivate |
|
protected |
data at faces which abut multi-valued cells
Referenced by BaseEBFaceFAB< Real >::copy(), BaseEBFaceFAB< Real >::dataPtr(), BaseEBFaceFAB< Real >::dataType(), and BaseEBFaceFAB< Real >::offset().
|
protected |
data at faces between two single-valued cells
Referenced by BaseEBFaceFAB< Real >::copy(), BaseEBFaceFAB< Real >::dataPtr(), and BaseEBFaceFAB< Real >::offset().
|
protected |
number of data values at each face in BaseEBFaceFAB
Referenced by BaseEBFaceFAB< Real >::copy().
|
protected |
Referenced by BaseEBFaceFAB< Real >::copy().
|
protected |
the face-centered region over which the BaseEBFaceFAB lives
Referenced by BaseEBFaceFAB< Real >::copy().
|
protected |
the cell-centered region over which the BaseEBFaceFAB lives
Referenced by BaseEBFaceFAB< Real >::copy().
|
protected |
has the full define function been called for the BaseEBFaceFAB?
|
protected |