Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

BinFabFactory< T > Class Template Reference

Factory class to produce BinFABs. More...

#include <BinFabFactory.H>

Inheritance diagram for BinFabFactory< T >:

Inheritance graph
[legend]
Collaboration diagram for BinFabFactory< T >:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual BinFab< T > * create (const Box &a_box, int a_ncomps, const DataIndex &a_dit) const
 factory function.

 BinFabFactory (const RealVect &a_mesh_spacing, const RealVect &a_origin, const ProblemDomain &a_domain)
virtual ~BinFabFactory ()

Detailed Description

template<class T>
class BinFabFactory< T >

Factory class to produce BinFABs.

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


Constructor & Destructor Documentation

template<class T>
BinFabFactory< T >::BinFabFactory const RealVect   a_mesh_spacing,
const RealVect   a_origin,
const ProblemDomain   a_domain
 

fills internal data with inputs

template<class T>
BinFabFactory< T >::~BinFabFactory   [virtual]
 


Member Function Documentation

template<class T>
BinFab< T > * BinFabFactory< T >::create const Box   a_box,
int    a_ncomps,
const DataIndex   a_dit
const [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< BinFab< T > >.


The documentation for this class was generated from the following files:
Generated on Wed Apr 16 14:27:35 2003 for Chombo by doxygen1.2.16