dune-grid  2.4.1
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
Dune::ALU3dGridEntityPointer< cd, GridImp > Class Template Reference

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

Inheritance diagram for Dune::ALU3dGridEntityPointer< cd, GridImp >:
Dune::ALU3dGridEntityPointerBase< cd, GridImp > Dune::ALU3dGridLevelIterator< cd, pitype, GridImp >

Public Types

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

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. More...
 
 ALU3dGridEntityPointer (const ALU3dGridEntityType &entity)
 Constructor for EntityPointer that points to given entity. More...
 
 ALU3dGridEntityPointer (const FactoryType &factory, const ALU3dGridEntitySeedType &seed)
 Constructor for EntityPointer that points to given entity. More...
 
 ALU3dGridEntityPointer (const ALU3dGridEntityPointerType &org)
 copy constructor More...
 
Entitydereference () const
 dereferencing More...
 
ThisTypeoperator= (const ThisType &org)
 assignment operator More...
 
int level () const
 ask for level of entities More...
 
bool equals (const ALU3dGridEntityPointerType &i) const
 equality More...
 

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 More...
 
void freeEntity ()
 put entity to entity stack More...
 
const GridImp & grid () const
 return reference to grid More...
 
void updateGhostPointer (HBndSegType &ghostFace)
 
void updateEntityPointer (HElementType *item, int level=-1)
 
EntityImpentityImp () const
 

Protected Attributes

const FactoryTypefactory_
 
ALU3dGridEntitySeedType seed_
 
EntityObjectentity_
 

Static Protected Attributes

static const int defaultValue = -665
 

Member Typedef Documentation

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

typedef of my type

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

type of entity seed

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

type of Entity

typedef EntityObject :: ImplementationType Dune::ALU3dGridEntityPointerBase< codim, GridImp >::EntityImp
inherited

underlying EntityImplementation

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 
)
inlineprotected

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

Member Function Documentation

void Dune::ALU3dGridEntityPointerBase< codim, GridImp >::clone ( const ALU3dGridEntityPointerType org)
protectedinherited
template<int codim, class GridImp >
void Dune::ALU3dGridEntityPointer< codim, GridImp >::clone ( const ALU3dGridEntityPointerType org)
inlineprotected
template<int codim, class GridImp >
ALU3dGridEntityPointer< codim, GridImp >::Entity & Dune::ALU3dGridEntityPointer< codim, GridImp >::dereference ( ) const
inline

dereferencing

void Dune::ALU3dGridEntityPointerBase< codim, GridImp >::done ( )
protectedinherited
EntityImp& Dune::ALU3dGridEntityPointerBase< codim, GridImp >::entityImp ( ) const
inlineprotectedinherited
bool Dune::ALU3dGridEntityPointerBase< codim, GridImp >::equals ( const ALU3dGridEntityPointerType i) const
inherited

equality

void Dune::ALU3dGridEntityPointerBase< codim, GridImp >::freeEntity ( )
protectedinherited

put entity to entity stack

void Dune::ALU3dGridEntityPointerBase< codim, GridImp >::getEntity ( const ALU3dGridEntityPointerType org)
protectedinherited
const GridImp& Dune::ALU3dGridEntityPointerBase< codim, GridImp >::grid ( ) const
inlineprotectedinherited
template<int codim, class GridImp >
int Dune::ALU3dGridEntityPointer< codim, GridImp >::level ( ) const
inline

ask for level of entities

template<int codim, class GridImp >
ALU3dGridEntityPointer< codim, GridImp > & Dune::ALU3dGridEntityPointer< codim, GridImp >::operator= ( const ThisType org)
inline

assignment operator

void Dune::ALU3dGridEntityPointerBase< codim, GridImp >::updateEntityPointer ( HElementType *  item,
int  level = -1 
)
protectedinherited
template<int codim, class GridImp >
void Dune::ALU3dGridEntityPointer< codim, GridImp >::updateEntityPointer ( HElementType item,
int  level 
)
inlineprotected
void Dune::ALU3dGridEntityPointerBase< codim, GridImp >::updateGhostPointer ( HBndSegType &  ghostFace)
protectedinherited

Member Data Documentation

template<int cd, class GridImp>
const int Dune::ALU3dGridEntityPointer< cd, GridImp >::defaultValue = -665
staticprotected
EntityObject* Dune::ALU3dGridEntityPointerBase< codim, GridImp >::entity_
mutableprotectedinherited
const FactoryType& Dune::ALU3dGridEntityPointerBase< codim, GridImp >::factory_
protectedinherited
ALU3dGridEntitySeedType Dune::ALU3dGridEntityPointerBase< codim, GridImp >::seed_
protectedinherited

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