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() [1/2]

MFCellFactory::MFCellFactory ( Vector< EBISLayout > &  a_ebis,
const Vector< int > &  a_ncomp 
)

◆ MFCellFactory() [2/2]

MFCellFactory::MFCellFactory ( const MFIndexSpace a_mf,
const DisjointBoxLayout a_dbl,
const Box a_domain,
const Vector< int > &  a_ncomps,
int  ghost 
)

◆ ~MFCellFactory()

virtual MFCellFactory::~MFCellFactory ( )
virtual

Member Function Documentation

◆ define()

void MFCellFactory::define ( Vector< EBISLayout > &  a_ebis,
const Vector< int > &  a_ncomp 
)

◆ create()

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 >.

◆ getEBISLayout()

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

Member Data Documentation

◆ m_ebis

Vector<EBISLayout> MFCellFactory::m_ebis
private

◆ m_ncomp

Vector<int> MFCellFactory::m_ncomp
private

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