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

#include <EBAlias.H>

Inheritance diagram for EBAliasDataFactory:
Inheritance graph
[legend]

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
 

Protected Attributes

LayoutData< Real * > aliasPtrs
 

Constructor & Destructor Documentation

◆ ~EBAliasDataFactory()

virtual EBAliasDataFactory::~EBAliasDataFactory ( )
inlinevirtual

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

Referenced by ~EBAliasDataFactory().

Member Data Documentation

◆ aliasPtrs

LayoutData<Real*> EBAliasDataFactory::aliasPtrs
protected

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