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

#include <BoxLayoutData.H>

Inheritance diagram for FABAliasDataFactory:
Inheritance graph

Public Member Functions

virtual ~FABAliasDataFactory ()
 FABAliasDataFactory (const LayoutData< Real *> &aliases)
void define (const LayoutData< Real *> &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

◆ ~FABAliasDataFactory()

virtual FABAliasDataFactory::~FABAliasDataFactory ( )

◆ FABAliasDataFactory()

FABAliasDataFactory::FABAliasDataFactory ( const LayoutData< Real *> &  aliases)

Member Function Documentation

◆ define()

void FABAliasDataFactory::define ( const LayoutData< Real *> &  aliases)

◆ create()

virtual FArrayBox* FABAliasDataFactory::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 >.

Member Data Documentation

◆ aliasPtrs

LayoutData<Real*> FABAliasDataFactory::aliasPtrs

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