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

Factory class to produce IVSFABs. More...

#include <IVSFAB.H>

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

Public Member Functions

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

Private Member Functions

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

Private Attributes

LayoutData< IntVectSetm_sets
 

Detailed Description

template<class T>
class IVSFABFactory< T >

Factory class to produce IVSFABs.

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

Constructor & Destructor Documentation

◆ IVSFABFactory() [1/3]

template<class T>
IVSFABFactory< T >::IVSFABFactory ( const LayoutData< IntVectSet > &  a_sets)
inline

fills internal data with inputs

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

◆ ~IVSFABFactory()

template<class T>
virtual IVSFABFactory< T >::~IVSFABFactory ( )
inlinevirtual

◆ IVSFABFactory() [2/3]

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

References MayDay::Error().

◆ IVSFABFactory() [3/3]

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

References MayDay::Error().

Member Function Documentation

◆ create()

template<class T>
virtual IVSFAB<T>* IVSFABFactory< 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< IVSFAB< T > >.

◆ operator=()

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

References MayDay::Error().

Member Data Documentation

◆ m_sets

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

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