#include <BaseIFFactory.H>
Factory class to produce BaseIVFABs. This is needed for LevelData construction.
Public Member Functions | |
virtual BaseIFFAB< T > * | create (const Box &a_box, int a_ncomps, const DataIndex &a_dit) const |
factory function. | |
BaseIFFactory (const EBISLayout &a_ebisl, const LayoutData< IntVectSet > &a_sets, const int &a_facedir) | |
virtual | ~BaseIFFactory () |
Private Member Functions | |
BaseIFFactory (const BaseIFFactory< T > &a_inputs) | |
BaseIFFactory () | |
void | operator= (const BaseIFFactory< T > &a_inputs) |
Private Attributes | |
EBISLayout | m_ebisl |
LayoutData< IntVectSet > | m_sets |
int | m_facedir |
BaseIFFactory< T >::BaseIFFactory | ( | const EBISLayout & | a_ebisl, | |
const LayoutData< IntVectSet > & | a_sets, | |||
const int & | a_facedir | |||
) | [inline] |
fills internal data with inputs
References LayoutData< T >::boxLayout(), LayoutData< T >::dataIterator(), LayoutData< T >::define(), BaseIFFactory< T >::m_ebisl, BaseIFFactory< T >::m_facedir, BaseIFFactory< T >::m_sets, and LayoutIterator::ok().
BaseIFFactory< T >::~BaseIFFactory | ( | ) | [inline, virtual] |
BaseIFFactory< T >::BaseIFFactory | ( | const BaseIFFactory< T > & | a_inputs | ) | [inline, private] |
References MayDay::Error().
BaseIFFactory< T >::BaseIFFactory | ( | ) | [inline, private] |
References MayDay::Error().
BaseIFFAB< T > * BaseIFFactory< T >::create | ( | const Box & | a_box, | |
int | a_ncomps, | |||
const DataIndex & | a_dit | |||
) | const [inline, virtual] |
factory function.
Creates a new baseivfab object and returns a pointer to it. Responsiblitly for calling operator 'delete' on this pointer is passed to the user. Intersects a_sets[a_dit] from construction with input box because leveldata will expect that anyway when it tries to do a copy or a linearization.
Implements DataFactory< BaseIFFAB< T > >.
References BaseIFFactory< T >::m_ebisl, BaseIFFactory< T >::m_facedir, and BaseIFFactory< T >::m_sets.
void BaseIFFactory< T >::operator= | ( | const BaseIFFactory< T > & | a_inputs | ) | [inline, private] |
References MayDay::Error().
EBISLayout BaseIFFactory< T >::m_ebisl [private] |
Referenced by BaseIFFactory< T >::BaseIFFactory(), and BaseIFFactory< T >::create().
LayoutData<IntVectSet> BaseIFFactory< T >::m_sets [private] |
Referenced by BaseIFFactory< T >::BaseIFFactory(), and BaseIFFactory< T >::create().
int BaseIFFactory< T >::m_facedir [private] |
Referenced by BaseIFFactory< T >::BaseIFFactory(), and BaseIFFactory< T >::create().