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 >
28 class AlbertaGridEntityPointer
30 typedef AlbertaGridEntityPointer< codim, GridImp > This;
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 >
105 : entity_(
EntityImp( grid, elementInfo, subEntity ) )
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 >
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 >
177 #endif // #if HAVE_ALBERTA 179 #endif // #ifndef DUNE_ALBERTA_ENTITYPOINTER_HH static const int codimension
Definition: albertagrid/entitypointer.hh:36
provides a wrapper for ALBERTA's el_info structure
EntityObject::ImplementationType EntityImp
Definition: albertagrid/entitypointer.hh:44
Definition: common/grid.hh:1260
Wrapper and interface class for a static iterator (EntityPointer)
static const int dimensionworld
Definition: albertagrid/entitypointer.hh:38
GridImp::template Codim< codimension >::Entity Entity
Definition: albertagrid/entitypointer.hh:40
AlbertaGridEntityPointer()
Definition: albertagrid/entitypointer.hh:96
[ provides Dune::Grid ]
Definition: agrid.hh:137
Entity ::Implementation ImplementationType
Definition: common/grid.hh:1262
int level() const
ask for level of entities
Definition: albertagrid/entitypointer.hh:147
Include standard header files.
Definition: agrid.hh:59
Entity & dereference() const
dereferencing
Definition: albertagrid/entitypointer.hh:140
static const int mydimension
Definition: albertagrid/entitypointer.hh:37
EntityImp & entityImp()
obtain reference to internal entity implementation
Definition: albertagrid/entitypointer.hh:155
const GridImp & grid() const
obtain a reference to the grid
Definition: albertagrid/entitypointer.hh:170
EntityImp::ElementInfo ElementInfo
Definition: albertagrid/entitypointer.hh:49
static const int dimension
Definition: albertagrid/entitypointer.hh:35
EntityPointer implementation for AlbertaGrid.
Definition: albertagrid/entity.hh:21
bool equals(const This &other) const
equality
Definition: albertagrid/entitypointer.hh:132