1 #ifndef DUNE_ALBERTA_ENTITYSEED_HH
2 #define DUNE_ALBERTA_ENTITYSEED_HH
13 template<
int codim,
class Gr
id >
14 class AlbertaGridEntitySeed;
21 template<
int dim,
int dimworld >
31 template<
int codim,
int dim,
int dimworld >
32 class AlbertaGridEntitySeed< codim, const
AlbertaGrid< dim, dimworld > >
37 static const int codimension = codim;
38 static const int dimension = dim;
39 static const int mydimension = dimension - codimension;
40 static const int dimensionworld = dimworld;
44 typedef typename ElementInfo::Seed
Seed;
46 typedef typename Grid::template Codim< codimension >::Entity
Entity;
48 AlbertaGridEntitySeed (
const ElementInfo &elementInfo,
int subEntity )
49 : seed_( elementInfo.seed() ),
50 subEntity_( subEntity )
66 template<
int dim,
int dimworld >
67 class AlbertaGridEntitySeed< 0, const
AlbertaGrid< dim, dimworld > >
72 static const int codimension = 0;
73 static const int dimension = dim;
74 static const int mydimension = dimension - codimension;
75 static const int dimensionworld = dimworld;
79 typedef typename ElementInfo::Seed
Seed;
81 typedef typename Grid::template Codim< codimension >::Entity
Entity;
83 explicit AlbertaGridEntitySeed (
const ElementInfo &elementInfo )
84 : seed_( elementInfo.seed() )
94 #endif // #if HAVE_ALBERTA
98 #endif // #ifndef DUNE_ALBERTA_ENTITYSEED_HH