3 #ifndef DUNE_GRID_YASPGRIDIDSET_HH
4 #define DUNE_GRID_YASPGRIDIDSET_HH
16 template<
class Gr
idImp>
17 class YaspGlobalIdSet :
public IdSet<GridImp,YaspGlobalIdSet<GridImp>,
18 typename std::remove_const<GridImp>::type::PersistentIndexType >
24 typedef YaspGlobalIdSet< GridImp > This;
28 typedef typename std::remove_const<GridImp>::type::PersistentIndexType
IdType;
42 IdType id (
const typename std::remove_const<GridImp>::type::Traits::template Codim<cd>::Entity& e)
const
44 return e.impl().persistentIndex();
52 IdType subId (
const typename std::remove_const<GridImp>::type::Traits::template Codim< 0 >::Entity &e,
53 int i,
unsigned int codim )
const
55 return e.impl().subPersistentIndex(i,codim);
62 #endif // DUNE_GRID_YASPGRIDIDSET_HH