Chombo + EB  3.2
Public Member Functions | Protected Attributes | List of all members
EBAliasDataFactory Class Reference

#include <EBAlias.H>

Inheritance diagram for EBAliasDataFactory:
Inheritance graph

Public Member Functions

virtual ~EBAliasDataFactory ()
void define (LevelData< EBCellFAB > &aliases)
virtual FArrayBoxcreate (const Box &box, int ncomps, const DataIndex &a_datInd) const
 factory function. creates a new 'T' object using an aliased dataPtr for T More...
- Public Member Functions inherited from DataFactory< FArrayBox >
virtual ~DataFactory ()
virtual bool callDelete () const
virtual bool threadSafe () const

Protected Attributes

LayoutData< Real * > aliasPtrs

Constructor & Destructor Documentation

◆ ~EBAliasDataFactory()

virtual EBAliasDataFactory::~EBAliasDataFactory ( )

References create(), and define().

Member Function Documentation

◆ define()

void EBAliasDataFactory::define ( LevelData< EBCellFAB > &  aliases)

Referenced by ~EBAliasDataFactory().

◆ create()

virtual FArrayBox* EBAliasDataFactory::create ( const Box box,
int  ncomps,
const DataIndex a_datInd 
) const

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

Referenced by ~EBAliasDataFactory().

Member Data Documentation

◆ aliasPtrs

LayoutData<Real*> EBAliasDataFactory::aliasPtrs

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