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

Factory class to produce MFFluxFABs. More...

#include <MFFluxFAB.H>

Inheritance diagram for MFFluxFactory:
Inheritance graph
[legend]

Public Member Functions

 MFFluxFactory (Vector< EBISLayout > &a_ebis, const Vector< int > &a_ncomp)
 
 MFFluxFactory (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 ~MFFluxFactory ()
 
virtual MFFluxFABcreate (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< MFFluxFAB >
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 MFFluxFABs.

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

Constructor & Destructor Documentation

MFFluxFactory::MFFluxFactory ( Vector< EBISLayout > &  a_ebis,
const Vector< int > &  a_ncomp 
)
MFFluxFactory::MFFluxFactory ( const MFIndexSpace a_mf,
const DisjointBoxLayout a_dbl,
const Box a_domain,
const Vector< int > &  a_ncomps,
int  ghost 
)
virtual MFFluxFactory::~MFFluxFactory ( )
virtual

Member Function Documentation

void MFFluxFactory::define ( Vector< EBISLayout > &  a_ebis,
const Vector< int > &  a_ncomp 
)
virtual MFFluxFAB* MFFluxFactory::create ( const Box a_box,
int  a_ncompsIgnored,
const DataIndex a_dit 
) const
virtual

factory function.

Creates a new mffluxfab object and returns a pointer to it. Responsibility for calling operator 'delete' on this pointer is passed to the user.

Implements DataFactory< MFFluxFAB >.

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

References m_ebis.

Member Data Documentation

Vector<EBISLayout> MFFluxFactory::m_ebis
private

Referenced by getEBISLayout().

Vector<int> MFFluxFactory::m_ncomp
private

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