#include <FabArray.H>
Public Member Functions | |
FabArrayBase () | |
FabArrayBase (const BoxArray &bx, int nvar, int ngrow) | |
FabArrayBase (const BoxArray &bx, int nvar, int ngrow, const DistributionMapping &map) | |
virtual | ~FabArrayBase () |
int | nGrow () const |
Returns the grow factor that defines the region of definition. | |
int | nComp () const |
Returns number of variables associated with each point (nvar). | |
const BoxArray & | boxArray () const |
Returns a constant reference to the BoxArray that defines the valid region associated with this FabArray. | |
virtual const Box & | box (int K) const |
Returns a constant reference to the Kth Box in the BoxArray. | |
virtual Box | fabbox (int K) const |
Returns the Kth FABs Box in the FabArray. | |
int | size () const |
Returns the number of FABs in the FabArray.. | |
const DistributionMapping & | DistributionMap () const |
Returns constant reference to associated DistributionMapping. | |
Protected Attributes | |
BoxArray | boxarray |
DistributionMapping | distributionMap |
int | n_grow |
int | n_comp |
FabArrayBase::FabArrayBase | ( | ) |
FabArrayBase::FabArrayBase | ( | const BoxArray & | bx, | |
int | nvar, | |||
int | ngrow | |||
) |
FabArrayBase::FabArrayBase | ( | const BoxArray & | bx, | |
int | nvar, | |||
int | ngrow, | |||
const DistributionMapping & | map | |||
) |
FabArrayBase::~FabArrayBase | ( | ) | [virtual] |
int FabArrayBase::nGrow | ( | ) | const [inline] |
Returns the grow factor that defines the region of definition.
References n_grow.
Referenced by BuildFBsirec(), MultiFab::Copy(), and TheFBsirec().
int FabArrayBase::nComp | ( | ) | const [inline] |
Returns number of variables associated with each point (nvar).
References n_comp.
Referenced by FabArray< FAB >::copy(), and VisMF::Write().
const BoxArray & FabArrayBase::boxArray | ( | ) | const [inline] |
Returns a constant reference to the BoxArray that defines the valid region associated with this FabArray.
References boxarray.
Referenced by BuildFBsirec(), MultiFab::Copy(), TheFBsirec(), and VisMF::Write().
const Box & FabArrayBase::box | ( | int | K | ) | const [inline, virtual] |
Returns a constant reference to the Kth Box in the BoxArray.
That is, the valid region of the Kth grid.
References boxarray.
Referenced by FabArrayCopyDescriptor< FAB >::AddBoxDoIt(), BuildFBsirec(), FabArray< FAB >::copy(), FabArray< FAB >::ok(), and MFIter::validbox().
Box FabArrayBase::fabbox | ( | int | K | ) | const [virtual] |
Returns the Kth FABs Box in the FabArray.
That is, the region the Kth fab is actually defined on.
References boxarray, BoxLib::grow(), and n_grow.
Referenced by FabArrayCopyDescriptor< FAB >::AddBoxDoIt(), and MFIter::fabbox().
int FabArrayBase::size | ( | ) | const [inline] |
Returns the number of FABs in the FabArray..
References boxarray, and BoxArray::size().
Referenced by BuildFBsirec(), FabArray< FAB >::copy(), and MFIter::isValid().
const DistributionMapping & FabArrayBase::DistributionMap | ( | ) | const [inline] |
Returns constant reference to associated DistributionMapping.
References distributionMap.
Referenced by FabArrayCopyDescriptor< FAB >::AddBoxDoIt(), BuildFBsirec(), MultiFab::FillBoundary(), VisMF::Header::Header(), MFIter::MFIter(), MFIter::operator++(), and VisMF::Write().
BoxArray FabArrayBase::boxarray [mutable, protected] |
DistributionMapping FabArrayBase::distributionMap [protected] |
Referenced by MultiFab::Copy(), FabArray< FAB >::copy(), FabArray< FAB >::define(), DistributionMap(), and FabArray< FAB >::setFab().
int FabArrayBase::n_grow [protected] |
int FabArrayBase::n_comp [protected] |