Dune::ALU3dGridEntityPointer< cd, GridImp > Class Template Reference

#include <dune/grid/alugrid/3d/entity.hh>

Inheritance diagram for Dune::ALU3dGridEntityPointer< cd, GridImp >:
Inheritance graph

List of all members.

Public Types

typedef
GridImp::GridObjectFactoryType 
FactoryType
typedef ALU3dGridEntitySeed
< cd, GridImp > 
ALU3dGridEntitySeedType
 type of entity seed
typedef GridImp::template
Codim< cd >::Entity 
Entity
 type of Entity
typedef ALU3dGridEntityPointer
< cd, GridImp > 
ALU3dGridEntityPointerType
 typedef of my type
enum  
typedef
MakeableInterfaceObject
< Entity
EntityObject
 underlying EntityImplementation
typedef
EntityObject::ImplementationType 
EntityImp
typedef ALU3dGridEntityPointer
< codimension, GridImp > 
EntityPointerImp
 make type of entity pointer implementation available in derived classes

Public Member Functions

 ALU3dGridEntityPointer (const FactoryType &factory, const int level, const HElementType &item, const int twist=defaultValue, const int duneFace=defaultValue)
 Constructor for EntityPointer that points to an element.
 ALU3dGridEntityPointer (const ALU3dGridEntityType &entity)
 Constructor for EntityPointer that points to given entity.
 ALU3dGridEntityPointer (const FactoryType &factory, const ALU3dGridEntitySeedType &seed)
 Constructor for EntityPointer that points to given entity.
 ALU3dGridEntityPointer (const ALU3dGridEntityPointerType &org)
 copy constructor
Entitydereference () const
 dereferencing
ThisTypeoperator= (const ThisType &org)
 assignment operator
int level () const
 ask for level of entities
bool equals (const ALU3dGridEntityPointerType &i) const
 equality
void compactify ()
 reduce memory to minimum needed to store pointer

Protected Types

enum  { dim = GridImp::dimension }
enum  { dimworld = GridImp::dimensionworld }
typedef
ALU3dGridEntityPointerBase< cd,
GridImp > 
BaseType
typedef ALU3dGridEntityPointer
< cd, GridImp > 
ThisType
typedef
GridImp::MPICommunicatorType 
Comm
typedef ALU3dImplTraits
< GridImp::elementType, Comm
ImplTraits
typedef ImplTraits::template
Codim< cd >::InterfaceType 
HElementType
typedef ImplTraits::HBndSegType HBndSegType
typedef ImplTraits::BNDFaceType BNDFaceType
typedef ALU3dGridEntity< cd,
dim, GridImp > 
ALU3dGridEntityType

Protected Member Functions

void clone (const ALU3dGridEntityPointerType &org)
void updateEntityPointer (HElementType *item, int level)
 ALU3dGridEntityPointer (const FactoryType &factory, int level)
void clone (const ALU3dGridEntityPointerType &org)
void getEntity (const ALU3dGridEntityPointerType &org)
void done ()
 has to be called when iterator is finished
void freeEntity ()
 put entity to entity stack
const GridImp & grid () const
 return reference to grid
void updateGhostPointer (HBndSegType &ghostFace)
void updateEntityPointer (HElementType *item, int level=-1)
EntityImpentityImp () const

Protected Attributes

const FactoryTypefactory_
ALU3dGridEntitySeedType seed_
EntityObjectentity_
bool locked_

Static Protected Attributes

static const int defaultValue = -665

Friends

class ALU3dGridEntity< cd, dim, GridImp >
class ALU3dGridEntity< 0, dim, GridImp >
class ALU3dGrid< GridImp::elementType, Comm >

template<int cd, class GridImp>
class Dune::ALU3dGridEntityPointer< cd, GridImp >


Member Typedef Documentation

template<int cd, class GridImp>
typedef ALU3dGridEntityPointer<cd,GridImp> Dune::ALU3dGridEntityPointer< cd, GridImp >::ALU3dGridEntityPointerType

typedef of my type

Reimplemented from Dune::ALU3dGridEntityPointerBase< cd, GridImp >.

template<int cd, class GridImp>
typedef ALU3dGridEntitySeed<cd, GridImp> Dune::ALU3dGridEntityPointer< cd, GridImp >::ALU3dGridEntitySeedType

type of entity seed

Reimplemented from Dune::ALU3dGridEntityPointerBase< cd, GridImp >.

template<int cd, class GridImp>
typedef ALU3dGridEntity<cd,dim,GridImp> Dune::ALU3dGridEntityPointer< cd, GridImp >::ALU3dGridEntityType [protected]
template<int cd, class GridImp>
typedef ALU3dGridEntityPointerBase<cd,GridImp> Dune::ALU3dGridEntityPointer< cd, GridImp >::BaseType [protected]
template<int cd, class GridImp>
typedef ImplTraits::BNDFaceType Dune::ALU3dGridEntityPointer< cd, GridImp >::BNDFaceType [protected]
template<int cd, class GridImp>
typedef GridImp::MPICommunicatorType Dune::ALU3dGridEntityPointer< cd, GridImp >::Comm [protected]
template<int cd, class GridImp>
typedef GridImp::template Codim<cd>::Entity Dune::ALU3dGridEntityPointer< cd, GridImp >::Entity
typedef EntityObject :: ImplementationType Dune::ALU3dGridEntityPointerBase< codim, GridImp >::EntityImp [inherited]

underlying EntityImplementation

typedef ALU3dGridEntityPointer<codimension,GridImp> Dune::ALU3dGridEntityPointerBase< codim, GridImp >::EntityPointerImp [inherited]

make type of entity pointer implementation available in derived classes

template<int cd, class GridImp>
typedef GridImp::GridObjectFactoryType Dune::ALU3dGridEntityPointer< cd, GridImp >::FactoryType
template<int cd, class GridImp>
typedef ImplTraits::HBndSegType Dune::ALU3dGridEntityPointer< cd, GridImp >::HBndSegType [protected]
template<int cd, class GridImp>
typedef ImplTraits::template Codim<cd>::InterfaceType Dune::ALU3dGridEntityPointer< cd, GridImp >::HElementType [protected]
template<int cd, class GridImp>
typedef ALU3dImplTraits< GridImp::elementType, Comm > Dune::ALU3dGridEntityPointer< cd, GridImp >::ImplTraits [protected]
template<int cd, class GridImp>
typedef ALU3dGridEntityPointer<cd,GridImp> Dune::ALU3dGridEntityPointer< cd, GridImp >::ThisType [protected]

Member Enumeration Documentation

anonymous enum [inherited]
template<int cd, class GridImp>
anonymous enum [protected]
Enumerator:
dim 
template<int cd, class GridImp>
anonymous enum [protected]
Enumerator:
dimworld 

Constructor & Destructor Documentation

template<int codim, class GridImp >
Dune::ALU3dGridEntityPointer< codim, GridImp >::ALU3dGridEntityPointer ( const FactoryType factory,
const int  level,
const HElementType item,
const int  twist = defaultValue,
const int  duneFace = defaultValue 
) [inline]

Constructor for EntityPointer that points to an element.

template<int cd, class GridImp>
Dune::ALU3dGridEntityPointer< cd, GridImp >::ALU3dGridEntityPointer ( const ALU3dGridEntityType entity  )  [inline]

Constructor for EntityPointer that points to given entity.

template<int cd, class GridImp>
Dune::ALU3dGridEntityPointer< cd, GridImp >::ALU3dGridEntityPointer ( const FactoryType factory,
const ALU3dGridEntitySeedType seed 
) [inline]

Constructor for EntityPointer that points to given entity.

template<int codim, class GridImp >
Dune::ALU3dGridEntityPointer< codim, GridImp >::ALU3dGridEntityPointer ( const ALU3dGridEntityPointerType org  )  [inline]

copy constructor

template<int cd, class GridImp>
Dune::ALU3dGridEntityPointer< cd, GridImp >::ALU3dGridEntityPointer ( const FactoryType factory,
int  level 
) [inline, protected]

Constructor for EntityPointer init of Level-, and Leaf-, and HierarchicIterator


Member Function Documentation

void Dune::ALU3dGridEntityPointerBase< codim, GridImp >::clone ( const ALU3dGridEntityPointerType org  )  [protected, inherited]
void Dune::ALU3dGridEntityPointerBase< codim, GridImp >::compactify (  )  [inherited]

reduce memory to minimum needed to store pointer

void Dune::ALU3dGridEntityPointerBase< codim, GridImp >::freeEntity (  )  [protected, inherited]

put entity to entity stack

void Dune::ALU3dGridEntityPointerBase< codim, GridImp >::getEntity ( const ALU3dGridEntityPointerType org  )  [protected, inherited]
template<int codim, class GridImp >
int Dune::ALU3dGridEntityPointer< codim, GridImp >::level (  )  const [inline]
template<int codim, class GridImp >
ALU3dGridEntityPointer< codim, GridImp > & Dune::ALU3dGridEntityPointer< codim, GridImp >::operator= ( const ThisType org  )  [inline]
void Dune::ALU3dGridEntityPointerBase< codim, GridImp >::updateEntityPointer ( HElementType *  item,
int  level = -1 
) [protected, inherited]
void Dune::ALU3dGridEntityPointerBase< codim, GridImp >::updateGhostPointer ( HBndSegType &  ghostFace  )  [protected, inherited]

Friends And Related Function Documentation

template<int cd, class GridImp>
friend class ALU3dGrid< GridImp::elementType, Comm > [friend]
template<int cd, class GridImp>
friend class ALU3dGridEntity< 0, dim, GridImp > [friend]
template<int cd, class GridImp>
friend class ALU3dGridEntity< cd, dim, GridImp > [friend]

Member Data Documentation

template<int cd, class GridImp>
const int Dune::ALU3dGridEntityPointer< cd, GridImp >::defaultValue = -665 [static, protected]

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

Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].