Chombo + EB + MF
3.2
|
Factory class to produce MFCellFABs. More...
#include <MFCellFAB.H>
Public Member Functions | |
MFCellFactory (Vector< EBISLayout > &a_ebis, const Vector< int > &a_ncomp) | |
MFCellFactory (const MFIndexSpace &a_mf, const DisjointBoxLayout &a_dbl, const Box &a_domain, const Vector< int > &a_ncomps, int ghost) | |
void | define (Vector< EBISLayout > &a_ebis, const Vector< int > &a_ncomp) |
virtual | ~MFCellFactory () |
virtual MFCellFAB * | create (const Box &a_box, int a_ncompsIgnored, const DataIndex &a_dit) const |
factory function. More... | |
const EBISLayout & | getEBISLayout (int phase) const |
Public Member Functions inherited from DataFactory< MFCellFAB > | |
virtual | ~DataFactory () |
virtual bool | callDelete () const |
virtual bool | threadSafe () const |
Private Attributes | |
Vector< EBISLayout > | m_ebis |
Vector< int > | m_ncomp |
Factory class to produce MFCellFABs.
Factory class to produce MFCellFABs. This is needed for LevelData construction.
MFCellFactory::MFCellFactory | ( | Vector< EBISLayout > & | a_ebis, |
const Vector< int > & | a_ncomp | ||
) |
MFCellFactory::MFCellFactory | ( | const MFIndexSpace & | a_mf, |
const DisjointBoxLayout & | a_dbl, | ||
const Box & | a_domain, | ||
const Vector< int > & | a_ncomps, | ||
int | ghost | ||
) |
|
virtual |
void MFCellFactory::define | ( | Vector< EBISLayout > & | a_ebis, |
const Vector< int > & | a_ncomp | ||
) |
|
virtual |
factory function.
Creates a new mfcellfab object and returns a pointer to it. Responsibility for calling operator 'delete' on this pointer is passed to the user.
Implements DataFactory< MFCellFAB >.
|
inline |
|
private |
|
private |