#include <EBAlias.H>
Public Member Functions | |
virtual | ~EBAliasDataFactory () |
void | define (LevelData< EBCellFAB > &aliases) |
virtual FArrayBox * | create (const Box &box, int ncomps, const DataIndex &a_datInd) const |
factory function. creates a new 'T' object using an aliased dataPtr for T | |
Protected Attributes | |
LayoutData< Real * > | aliasPtrs |
virtual EBAliasDataFactory::~EBAliasDataFactory | ( | ) | [inline, virtual] |
virtual FArrayBox* EBAliasDataFactory::create | ( | const Box & | box, | |
int | ncomps, | |||
const DataIndex & | a_datInd | |||
) | const [virtual] |
factory function. creates a new 'T' object using an aliased dataPtr for T
creates a new 'T' object and returns a pointer to it. Responsiblitly for calling operator 'delete' on this pointer is passed to the user.
Implements DataFactory< FArrayBox >.
LayoutData<Real*> EBAliasDataFactory::aliasPtrs [protected] |