#include <BaseIVFactory.H>
Factory class to produce BaseIVFABs. This is needed for LevelData construction.
Public Member Functions | |
virtual BaseIVFAB< T > * | create (const Box &a_box, int a_ncomps, const DataIndex &a_dit) const |
factory function. | |
BaseIVFactory (const EBISLayout &a_ebisl, const LayoutData< IntVectSet > &a_sets) | |
BaseIVFactory (const EBISLayout &a_ebisl) | |
virtual | ~BaseIVFactory () |
Private Member Functions | |
BaseIVFactory (const BaseIVFactory< T > &a_inputs) | |
BaseIVFactory () | |
void | operator= (const BaseIVFactory< T > &a_inputs) |
Private Attributes | |
EBISLayout | m_ebisl |
LayoutData< IntVectSet > | m_sets |
BaseIVFactory< T >::BaseIVFactory | ( | const EBISLayout & | a_ebisl, | |
const LayoutData< IntVectSet > & | a_sets | |||
) | [inline] |
fills internal data with inputs
References LayoutData< T >::boxLayout(), LayoutData< T >::dataIterator(), LayoutData< T >::define(), BaseIVFactory< T >::m_ebisl, BaseIVFactory< T >::m_sets, and LayoutIterator::ok().
BaseIVFactory< T >::BaseIVFactory | ( | const EBISLayout & | a_ebisl | ) | [inline] |
builds BaseIVFAB objects defined at all boundary irregular cells.
References LayoutData< T >::dataIterator(), LayoutData< T >::define(), EBISLayout::getDisjointLayout(), BaseIVFactory< T >::m_ebisl, BaseIVFactory< T >::m_sets, and LayoutIterator::ok().
BaseIVFactory< T >::~BaseIVFactory | ( | ) | [inline, virtual] |
BaseIVFactory< T >::BaseIVFactory | ( | const BaseIVFactory< T > & | a_inputs | ) | [inline, private] |
References MayDay::Error().
BaseIVFactory< T >::BaseIVFactory | ( | ) | [inline, private] |
References MayDay::Error().
BaseIVFAB< T > * BaseIVFactory< 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< BaseIVFAB< T > >.
References BaseIVFactory< T >::m_ebisl, and BaseIVFactory< T >::m_sets.
void BaseIVFactory< T >::operator= | ( | const BaseIVFactory< T > & | a_inputs | ) | [inline, private] |
References MayDay::Error().
EBISLayout BaseIVFactory< T >::m_ebisl [private] |
Referenced by BaseIVFactory< T >::BaseIVFactory(), and BaseIVFactory< T >::create().
LayoutData<IntVectSet> BaseIVFactory< T >::m_sets [private] |
Referenced by BaseIVFactory< T >::BaseIVFactory(), and BaseIVFactory< T >::create().