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

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

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

◆ MFFluxFactory() [2/2]

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

◆ ~MFFluxFactory()

virtual MFFluxFactory::~MFFluxFactory ( )

Member Function Documentation

◆ define()

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

◆ create()

virtual MFFluxFAB* MFFluxFactory::create ( const Box a_box,
int  a_ncompsIgnored,
const DataIndex a_dit 
) const

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

◆ getEBISLayout()

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

Member Data Documentation

◆ m_ebis

Vector<EBISLayout> MFFluxFactory::m_ebis

◆ m_ncomp

Vector<int> MFFluxFactory::m_ncomp

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