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

Factory class to produce BaseIVFABs. More...

#include <BaseIVFactory.H>

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

Public Member Functions

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

Private Member Functions

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

Private Attributes

EBISLayout m_ebisl
 
LayoutData< IntVectSetm_sets
 

Detailed Description

template<class T>
class BaseIVFactory< T >

Factory class to produce BaseIVFABs.

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

Constructor & Destructor Documentation

◆ BaseIVFactory() [1/4]

template<class T >
BaseIVFactory< T >::BaseIVFactory ( const EBISLayout a_ebisl,
const LayoutData< IntVectSet > &  a_sets 
)
inline

fills internal data with inputs

References LayoutData< T >::boxLayout(), EBISLayout::define(), and LayoutIterator::ok().

◆ BaseIVFactory() [2/4]

template<class T >
BaseIVFactory< T >::BaseIVFactory ( const EBISLayout a_ebisl)
inline

builds BaseIVFAB objects defined at all boundary irregular cells.

References EBISLayout::define(), EBISLayout::getDisjointLayout(), and LayoutIterator::ok().

◆ ~BaseIVFactory()

template<class T >
BaseIVFactory< T >::~BaseIVFactory ( )
inlinevirtual

◆ BaseIVFactory() [3/4]

template<class T>
BaseIVFactory< T >::BaseIVFactory ( const BaseIVFactory< T > &  a_inputs)
inlineprivate

References MayDay::Error().

◆ BaseIVFactory() [4/4]

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

References MayDay::Error().

Member Function Documentation

◆ create()

template<class T >
BaseIVFAB< T > * BaseIVFactory< 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< BaseIVFAB< T > >.

◆ operator=()

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

References MayDay::Error().

Member Data Documentation

◆ m_ebisl

template<class T>
EBISLayout BaseIVFactory< T >::m_ebisl
private

◆ m_sets

template<class T>
LayoutData<IntVectSet> BaseIVFactory< T >::m_sets
private

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