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 >
53 const ElementInfo &elementInfo,
74 This &operator= ( const This &other );
78 bool
equals ( const This &other ) const;
94 const GridImp &
grid () const;
102 template< int codim, class GridImp >
105 const ElementInfo &elementInfo,
107 : entity_( EntityImp( grid, elementInfo, subEntity ) )
111 template<
int codim,
class Gr
idImp >
118 template<
int codim,
class Gr
idImp >
126 template<
int codim,
class Gr
idImp >
129 : entity_( other.entity_ )
135 template<
int codim,
class Gr
idImp >
136 inline AlbertaGridEntityPointer< codim, GridImp >::~AlbertaGridEntityPointer ()
142 template<
int codim,
class Gr
idImp >
143 inline typename AlbertaGridEntityPointer< codim, GridImp >::This &
144 AlbertaGridEntityPointer< codim, GridImp >::operator= (
const This &other )
146 entityImp().setEntity( other.entityImp() );
152 template<
int codim,
class Gr
idImp >
160 template<
int codim,
class Gr
idImp >
168 template<
int codim,
class Gr
idImp >
175 template<
int codim,
class Gr
idImp >
179 return GridImp::getRealImplementation( entity_ );
183 template<
int codim,
class Gr
idImp >
187 return GridImp::getRealImplementation( entity_ );
191 template<
int codim,
class Gr
idImp >
199 #endif // #if HAVE_ALBERTA
201 #endif // #ifndef DUNE_ALBERTA_ENTITYPOINTER_HH