3 #ifndef DUNE_ALBERTA_ENTITY_HH
4 #define DUNE_ALBERTA_ENTITY_HH
20 template<
int codim,
class Gr
id >
21 class AlbertaGridEntityPointer;
23 template<
int codim,
class Gr
id,
bool leafIterator >
24 class AlbertaGridTreeIterator;
26 template<
class Gr
id >
27 class AlbertaGridHierarchicIterator;
29 template<
class Gr
id >
30 class AlbertaGridLeafIntersection;
32 template<
class Gr
id >
33 class AlbertaGridLeafIntersectionIterator;
44 template<
int codim,
int dim,
class Gr
id >
109 bool equals (
const This &other )
const;
158 template<
int dim,
class Gr
id >
177 template<
int codim >
184 typedef typename Grid::template Codim< 0 >::Entity
Entity;
185 typedef typename Grid::template Codim< 0 >::EntitySeed
EntitySeed;
186 typedef typename Grid::template Codim< 0 >::Geometry
Geometry;
188 typedef typename Grid::Traits::template Codim< 0 >::GeometryImpl
GeometryImpl;
208 int boundaryId ()
const;
225 template<
int codim >
228 return Alberta::NumSubEntities< dimension, codim >::value;
241 template<
int codim >
242 typename Codim< codim >::EntityPointer
subEntity (
int i )
const;
256 if(
grid().maxLevel() == 0 )
260 DUNE_THROW( NotImplemented,
"method ilevelbegin not implemented for AlbertaGrid." );
271 bool isLeaf ()
const;
277 bool hasFather ()
const
279 return (this->
level()>0);
290 LocalGeometry geometryInFather ()
const;
305 bool mightVanish ()
const;
309 bool hasBoundaryIntersections ()
const ;
315 bool equals (
const This &i )
const;
350 template<
int codim >
353 return elementInfo().template twist< codim >(
grid().generic2alberta( codim, i ) );
369 #endif // #if HAVE_ALBERTA
371 #endif // #ifndef DUNE_ALBERTA_ENTITY_HH