Multiphase BaseIVFAB<Real>.
More...
#include <CD_MFBaseIVFAB.H>
|
| MFBaseIVFAB () |
| Weak construction.
|
|
| MFBaseIVFAB (const Vector< IntVectSet > &a_regions, const Vector< EBGraph > &a_phaseGraphs, const Vector< int > &a_nComp) |
| Full constructor. More...
|
|
virtual | ~MFBaseIVFAB () |
| Destructor (does nothing)
|
|
virtual BaseIVFAB< Real > & | getIVFAB (const int a_phase) |
| Get BaseIVFAB for specified phase. More...
|
|
virtual const BaseIVFAB< Real > & | getIVFAB (const int a_phase) const |
| Get BaseIVFAB for specified phase. More...
|
|
virtual BaseIVFAB< Real > * | getPhasePtr (int a_phase) |
| Get BaseIVFAB pointer for phase. More...
|
|
virtual int | numPhases () |
| Get number of phases.
|
|
virtual void | setVal (Real a_value) |
| Set value. More...
|
|
virtual void | copy (const Box &a_fromBox, const Interval &a_dst_interv, const Box &a_toBox, const MFBaseIVFAB &a_src, const Interval &a_srcInterv) |
| Copy function (see Chombo docs) More...
|
|
virtual int | size (const Box &R, const Interval &comps) const |
| Size function. Required for LevelData construction.
|
|
virtual void | linearOut (void *buf, const Box &R, const Interval &comps) const |
| Linearization function.
|
|
virtual void | linearIn (void *buf, const Box &R, const Interval &comps) |
| Linearization function.
|
|
|
static int | preAllocatable () |
|
|
Vector< BaseIVFAB< Real > * > | m_phase |
|
Multiphase BaseIVFAB<Real>.
◆ MFBaseIVFAB()
MFBaseIVFAB::MFBaseIVFAB |
( |
const Vector< IntVectSet > & |
a_regions, |
|
|
const Vector< EBGraph > & |
a_phaseGraphs, |
|
|
const Vector< int > & |
a_nComp |
|
) |
| |
Full constructor.
- Parameters
-
[in] | a_regions | Regions on which to define the BaseIVFAB<Real>s |
[in] | a_phaseGraphs | EBGraphs on the phases |
[in] | a_nComp | Number of components to allocate |
◆ copy()
void MFBaseIVFAB::copy |
( |
const Box & |
a_fromBox, |
|
|
const Interval & |
a_dst_interv, |
|
|
const Box & |
a_toBox, |
|
|
const MFBaseIVFAB & |
a_src, |
|
|
const Interval & |
a_srcInterv |
|
) |
| |
|
virtual |
Copy function (see Chombo docs)
- Parameters
-
[in] | a_fromBox | Region in source |
[in] | a_dstInterval | Destination interval |
[in] | a_toBox | Region in destination |
[in] | a_src | Source. |
[in] | a_srcInterval | Source interval |
◆ getIVFAB() [1/2]
BaseIVFAB< Real > & MFBaseIVFAB::getIVFAB |
( |
const int |
a_phase | ) |
|
|
virtual |
Get BaseIVFAB for specified phase.
- Parameters
-
◆ getIVFAB() [2/2]
const BaseIVFAB< Real > & MFBaseIVFAB::getIVFAB |
( |
const int |
a_phase | ) |
const |
|
virtual |
Get BaseIVFAB for specified phase.
- Parameters
-
◆ getPhasePtr()
BaseIVFAB< Real > * MFBaseIVFAB::getPhasePtr |
( |
int |
a_phase | ) |
|
|
virtual |
Get BaseIVFAB pointer for phase.
- Parameters
-
◆ setVal()
void MFBaseIVFAB::setVal |
( |
Real |
a_value | ) |
|
|
virtual |
Set value.
- Parameters
-
[in] | a_value | value in BaseIVFAB |
The documentation for this class was generated from the following files: