#include <EBFluxFactory.H>
Factory class to produce BaseEBFluxFABs. This is needed for LevelData construction.
Public Member Functions | |
virtual EBFluxFAB * | create (const Box &a_box, int a_ncomps, const DataIndex &a_dit) const |
factory function. | |
EBFluxFactory (const EBISLayout &a_ebisl) | |
virtual | ~EBFluxFactory () |
Private Attributes | |
EBISLayout | m_ebisl |
EBFluxFactory::EBFluxFactory | ( | const EBISLayout & | a_ebisl | ) |
create the factory with an ispace. calls full define function
virtual EBFluxFactory::~EBFluxFactory | ( | ) | [virtual] |
virtual EBFluxFAB* EBFluxFactory::create | ( | const Box & | a_box, | |
int | a_ncomps, | |||
const DataIndex & | a_dit | |||
) | const [virtual] |
factory function.
Creates a new baseebcellfab object and returns a pointer to it. Responsiblitly for calling operator 'delete' on this pointer is passed to the user.
Implements DataFactory< EBFluxFAB >.
EBISLayout EBFluxFactory::m_ebisl [private] |