Chombo + EB + MF  3.2
Public Member Functions | Private Attributes | List of all members
MFCellFactory Class Reference

Factory class to produce MFCellFABs. More...

#include <MFCellFAB.H>

Inheritance diagram for MFCellFactory:
Inheritance graph
[legend]

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 MFCellFABcreate (const Box &a_box, int a_ncompsIgnored, const DataIndex &a_dit) const
 factory function. More...
 
const EBISLayoutgetEBISLayout (int phase) const
 
- Public Member Functions inherited from DataFactory< MFCellFAB >
virtual ~DataFactory ()
 
virtual bool callDelete () const
 
virtual bool threadSafe () const
 

Private Attributes

Vector< EBISLayoutm_ebis
 
Vector< int > m_ncomp
 

Detailed Description

Factory class to produce MFCellFABs.

Factory class to produce MFCellFABs. This is needed for LevelData construction.

Constructor & Destructor Documentation

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 MFCellFactory::~MFCellFactory ( )
virtual

Member Function Documentation

void MFCellFactory::define ( Vector< EBISLayout > &  a_ebis,
const Vector< int > &  a_ncomp 
)
virtual MFCellFAB* MFCellFactory::create ( const Box a_box,
int  a_ncompsIgnored,
const DataIndex a_dit 
) const
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 >.

const EBISLayout& MFCellFactory::getEBISLayout ( int  phase) const
inline

References m_ebis.

Member Data Documentation

Vector<EBISLayout> MFCellFactory::m_ebis
private

Referenced by getEBISLayout().

Vector<int> MFCellFactory::m_ncomp
private

The documentation for this class was generated from the following file: