Chombo + EB  3.2
Public Member Functions | Private Member Functions | Private Attributes | List of all members
BaseIFFactory< T > Class Template Reference

Factory class to produce BaseIVFABs. More...

#include <BaseIFFactory.H>

Inheritance diagram for BaseIFFactory< T >:
Inheritance graph
[legend]

Public Member Functions

virtual BaseIFFAB< T > * create (const Box &a_box, int a_ncomps, const DataIndex &a_dit) const
 factory function. More...
 
 BaseIFFactory (const EBISLayout &a_ebisl, const LayoutData< IntVectSet > &a_sets, const int &a_facedir)
 
virtual ~BaseIFFactory ()
 
- Public Member Functions inherited from DataFactory< BaseIFFAB< T > >
virtual ~DataFactory ()
 
virtual bool callDelete () const
 
virtual bool threadSafe () const
 

Private Member Functions

 BaseIFFactory (const BaseIFFactory< T > &a_inputs)
 
 BaseIFFactory ()
 
void operator= (const BaseIFFactory< T > &a_inputs)
 

Private Attributes

EBISLayout m_ebisl
 
LayoutData< IntVectSetm_sets
 
int m_facedir
 

Detailed Description

template<class T>
class BaseIFFactory< T >

Factory class to produce BaseIVFABs.

Factory class to produce BaseIVFABs. This is needed for LevelData construction.

Constructor & Destructor Documentation

template<class T >
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(), EBISLayout::define(), and LayoutIterator::ok().

template<class T >
BaseIFFactory< T >::~BaseIFFactory ( )
inlinevirtual
template<class T>
BaseIFFactory< T >::BaseIFFactory ( const BaseIFFactory< T > &  a_inputs)
inlineprivate

References MayDay::Error().

template<class T>
BaseIFFactory< T >::BaseIFFactory ( )
inlineprivate

References MayDay::Error().

Member Function Documentation

template<class T >
BaseIFFAB< T > * BaseIFFactory< T >::create ( const Box a_box,
int  a_ncomps,
const DataIndex a_dit 
) const
inlinevirtual

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

template<class T>
void BaseIFFactory< T >::operator= ( const BaseIFFactory< T > &  a_inputs)
inlineprivate

References MayDay::Error().

Member Data Documentation

template<class T>
EBISLayout BaseIFFactory< T >::m_ebisl
private
template<class T>
LayoutData<IntVectSet> BaseIFFactory< T >::m_sets
private
template<class T>
int BaseIFFactory< T >::m_facedir
private

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