1 #ifndef DUNE_ALBERTA_ENTITY_HH
2 #define DUNE_ALBERTA_ENTITY_HH
18 template<
int codim,
class Gr
idImp >
21 template<
int codim,
class Gr
idImp,
bool leafIterator >
24 template<
class Gr
idImp >
27 template<
class Gr
idImp >
30 template<
class Gr
idImp >
44 template<
int codim,
int dim,
class Gr
idImp >
50 enum { dimworld = GridImp::dimensionworld };
112 bool equals (
const This &other )
const;
140 const GridImp *grid_;
167 template<
int dim,
class Gr
idImp >
173 static const int dimworld = GridImp::dimensionworld;
186 template<
int codim >
193 typedef typename GridImp::template Codim< 0 >::Entity
Entity;
194 typedef typename GridImp::template Codim< 0 >::EntitySeed
EntitySeed;
195 typedef typename GridImp::template Codim< 0 >::Geometry
Geometry;
197 typedef typename GridImp::Traits::template Codim< 0 >::GeometryImpl
GeometryImpl;
218 int boundaryId ()
const;
235 template<
int codim >
251 template<
int codim >
252 typename Codim< codim >::EntityPointer
subEntity (
int i )
const;
266 if(
grid().maxLevel() == 0 )
270 DUNE_THROW( NotImplemented,
"method ilevelbegin not implemented for AlbertaGrid." );
281 bool isLeaf ()
const;
287 bool hasFather ()
const
289 return (this->
level()>0);
300 LocalGeometry geometryInFather ()
const;
315 bool mightVanish ()
const;
319 bool hasBoundaryIntersections ()
const ;
360 template<
int codim >
363 return elementInfo().template twist< codim >(
grid().generic2alberta( codim, i ) );
371 const GridImp *grid_;
382 #endif // #if HAVE_ALBERTA
384 #endif // #ifndef DUNE_ALBERTA_ENTITY_HH