Dune Core Modules (2.4.1)

Dune::ALUMemoryProvider< Object > Class Template Reference

organize the memory management for entitys used by the NeighborIterator More...

#include <dune/grid/alugrid/common/memory.hh>

Public Member Functions

 ALUMemoryProvider ()
 default constructor
 
 ALUMemoryProvider (const ALUMemoryProvider< Object > &org)
 do not copy pointers
 
 ~ALUMemoryProvider ()
 call deleteEntity
 
template<class FactoryType >
ObjectType * getObject (const FactoryType &factory, int level)
 i.e. return pointer to Entity
 
template<class FactoryType , class EntityImp >
ObjectType * getEntityObject (const FactoryType &factory, int level, EntityImp *fakePtr)
 i.e. return pointer to Entity
 
ObjectType * getEmptyObject ()
 return object, if created default constructor is used
 
ObjectType * getObjectCopy (const ObjectType &org)
 i.e. return pointer to Entity
 
void freeObject (ObjectType *obj)
 free, move element to stack, returns NULL
 

Detailed Description

template<class Object>
class Dune::ALUMemoryProvider< Object >

organize the memory management for entitys used by the NeighborIterator


The documentation for this class was generated from the following files:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 21, 23:30, 2024)