3#ifndef DUNE_ALBERTA_ENTITYPOINTER_HH
4#define DUNE_ALBERTA_ENTITYPOINTER_HH
18 template<
int dim,
int dimworld >
27 template<
int codim,
class Gr
idImp >
55 const ElementInfo &elementInfo,
70 bool
equals ( const This &other ) const;
86 const GridImp &
grid () const;
94 template< int codim, class GridImp >
100 template<
int codim,
class Gr
idImp >
109 template<
int codim,
class Gr
idImp >
116 template<
int codim,
class Gr
idImp >
124 template<
int codim,
class Gr
idImp >
130 template<
int codim,
class Gr
idImp >
138 template<
int codim,
class Gr
idImp >
146 template<
int codim,
class Gr
idImp >
149 return entityImp().
level();
153 template<
int codim,
class Gr
idImp >
157 return GridImp::getRealImplementation( entity_ );
161 template<
int codim,
class Gr
idImp >
165 return GridImp::getRealImplementation( entity_ );
169 template<
int codim,
class Gr
idImp >
172 return entityImp().grid();
provides a wrapper for ALBERTA's el_info structure
Include standard header files.
Definition agrid.hh:60
[ provides Dune::Grid ]
Definition agrid.hh:140
EntityPointer implementation for AlbertaGrid.
Definition albertagrid/entitypointer.hh:29
Entity & dereference() const
dereferencing
Definition albertagrid/entitypointer.hh:140
EntityImp::ElementInfo ElementInfo
Definition albertagrid/entitypointer.hh:49
AlbertaGridEntityPointer()
Definition albertagrid/entitypointer.hh:96
GridImp::template Codim< codimension >::Entity Entity
Definition albertagrid/entitypointer.hh:40
const GridImp & grid() const
obtain a reference to the grid
Definition albertagrid/entitypointer.hh:170
EntityImp & entityImp()
obtain reference to internal entity implementation
Definition albertagrid/entitypointer.hh:155
static const int codimension
Definition albertagrid/entitypointer.hh:36
static const int mydimension
Definition albertagrid/entitypointer.hh:37
static const int dimensionworld
Definition albertagrid/entitypointer.hh:38
EntityObject::ImplementationType EntityImp
Definition albertagrid/entitypointer.hh:44
int level() const
ask for level of entities
Definition albertagrid/entitypointer.hh:147
bool equals(const This &other) const
equality
Definition albertagrid/entitypointer.hh:132
static const int dimension
Definition albertagrid/entitypointer.hh:35
EntityObject::ImplementationType EntityImp
Definition treeiterator.hh:204
GridImp::template Codim< codim >::Entity Entity
Definition treeiterator.hh:202
int level() const
The level of this entity.
Definition common/entity.hh:125
Definition common/grid.hh:1265
InterfaceType::Implementation ImplementationType
Definition common/grid.hh:1266
Wrapper and interface class for a static iterator (EntityPointer)