#include <IVSFAB.H>
Collaboration diagram for IVSFAB< T >:
Public Member Functions | |
IVSFAB () | |
IVSFAB (const IntVectSet &a_region, const int &a_nvarin) | |
~IVSFAB () | |
void | define (const IntVectSet &a_region, const int &a_nvarin) |
void | setVal (const T &value) |
void | copy (const Box &a_fromBox, const Interval &a_destInterval, const Box &a_toBox, const IVSFAB< T > &a_src, const Interval &a_srcInterval) |
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) |
void | clear () |
bool | isDefined () const |
int | numIvs () const |
int | nComp () const |
const IntVectSet & | getIVS () const |
T & | operator() (const IntVect &a_iv, const int &varlocin) |
const T & | operator() (const IntVect &a_iv, const int &varlocin) const |
const T * | dataPtr (const int &a_comp) const |
T * | dataPtr (const int &a_comp) |
IVSFAB (const Box &a_region, int a_nVar) | |
invalid but necessary for leveldata to compile | |
const int * | loVect () const |
const int * | hiVect () const |
Static Public Member Functions | |
int | preAllocatable () |
void | setVerbose (bool a_verbose) |
Protected Member Functions | |
int | getIndex (const IntVect &a_iv, const int &a_comp) const |
Protected Attributes | |
T * | m_dataPtr |
int | m_nComp |
int | m_nIvs |
IntVect | m_loVect |
IntVect | m_hiVect |
BaseFab< int > | m_ivmap |
IntVectSet | m_ivs |
bool | m_isDefined |
Static Protected Attributes | |
bool | s_verbose = false |
|
Default constructor. Constructs an uninitialized IVFAB. You must subsequently call { define} before using this IVFAB. |
|
|
|
|
|
invalid but necessary for leveldata to compile
|
|
Remove all data from this IVSFAB. You must call { define} again in order to use it. |
|
|
|
Return a pointer to the internal data storage of this IVFAB. |
|
Return a const pointer to the internal data storage of this IVFAB. \ |
|
|
|
|
|
Return the irregular domain of the IVSFAB. |
|
Return a fake "upper right corner of the domain" for use with Fortran. |
|
Tells whether this IVSFAB has been defined, either with a constructor or with { 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 IVSFAB. |
|
Return the number of Ivs in this IVSFAB. |
|
|
|
Indexing operator. Return a reference to the contents of this IVFAB, at the specified Iv and data component. The first component is zero, the last is {nvar-1}. The returned object is a modifiable lvalue. |
|
This stuff required by LevelData in parallel: |
|
Set a value at every data location. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|