#include <BaseIFFAB.H>
Inheritance diagram for BaseIFFAB< T >:
Public Methods | |
BaseIFFAB () | |
BaseIFFAB (const IntVectSet &a_region, const EBGraph &a_ebgraph, const int &a_direction, const int &a_nvarin) | |
~BaseIFFAB () | |
void | define (const IntVectSet &a_region, const EBGraph &a_ebgraph, const int &a_direction, const int &a_nvarin) |
void | setVal (const T &value) |
void | copy (const Box &a_intBox, const Interval &a_destInterval, const Box &a_toBox, const BaseIFFAB< T > &a_src, const Interval &a_srcInterval) |
void | clear () |
bool | isDefined () const |
int | numFaces () const |
int | nComp () const |
int | direction () const |
const IntVectSet & | getIVS () const |
T & | operator() (const FaceIndex &a_face, const int &varlocin) |
const T & | operator() (const FaceIndex &a_face, const int &varlocin) const |
const T * | dataPtr (const int &a_comp) const |
T * | dataPtr (const int &a_comp) |
const int * | loVect () const |
const int * | hiVect () const |
const EBGraph & | getEBGraph () const |
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) |
Static Public Methods | |
int | preAllocatable () |
Protected Methods | |
int | getLocalVecIndex (const FaceIndex &a_face) const |
int | getIndex (const FaceIndex &a_face, const int &a_comp) const |
Protected Attributes | |
T * | m_dataPtr |
int | m_nComp |
int | m_nFaces |
int | m_direction |
IntVect | m_loVect |
IntVect | m_hiVect |
BaseFab< Vector< int > > | m_ivmap |
IntVectSet | m_ivs |
EBGraph | m_ebgraph |
bool | m_isDefined |
Private Methods | |
void | setDefaultValues () |
BaseIFFAB< T > & | operator= (const BaseIFFAB< T > &) |
BaseIFFAB (const BaseIFFAB< T > &) |
|
Default constructor. Constructs an uninitialized IFFAB. You must subsequently call {\bf define} before using this IFFAB. |
|
Defining constructor. Specifies the irregular domain and the number of data components per face. The irregular domain must lie completely within the EBGraph. The contents are uninitialized. Calls full define function. |
|
|
|
|
|
Remove all data from this BaseIFFAB. You must call {\bf define} again in order to use it. |
|
define over surrounding nodes of invectset (ivs is cell-centered). |
|
Return a pointer to the internal data storage of this IFFAB. |
|
Return a const pointer to the internal data storage of this IFFAB. \ |
|
Full define function. Specifies the irregular domain and the number of data components per face. The irregular domain must lie completely within the EBGraph. The contents are uninitialized. If it has previously been defined, the old definition data is overwritten and lost. |
|
Return the direction of the faces of this BaseIFFAB. |
|
|
|
|
|
Return the irregular domain of the BaseIFFAB. |
|
|
|
Return a fake "upper right corner of the domain" for use with Fortran. |
|
Tells whether this BaseIFFAB has been defined, either with a constructor or with {\bf define}. It must be initialized in order to access its data. |
|
|
|
|
|
Return a fake "lower left corner of the domain" for use with Fortran. |
|
Return the number of data components of this BaseIFFAB. |
|
Return the number of face in this BaseIFFAB. |
|
|
|
Indexing operator. Return a reference to the contents of this IFFAB, at the specified face and data component. The first component is zero, the last is {nvar-1}. The returned object is a modifiable lvalue. |
|
|
|
|
|
|
|
Set a value at every data location. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|