5#ifndef DUNE_GRID_YASPGRIDIDSET_HH
6#define DUNE_GRID_YASPGRIDIDSET_HH
18 template<
class Gr
idImp>
20 typename std::remove_const<GridImp>::type::PersistentIndexType >
30 typedef typename std::remove_const<GridImp>::type::PersistentIndexType
IdType;
44 IdType id (
const typename std::remove_const<GridImp>::type::Traits::template Codim<cd>::Entity& e)
const
46 return e.impl().persistentIndex();
54 IdType subId (
const typename std::remove_const<GridImp>::type::Traits::template Codim< 0 >::Entity &e,
55 int i,
unsigned int codim )
const
57 return e.impl().subPersistentIndex(i,codim);
Include standard header files.
Definition: agrid.hh:60
Id Set Interface.
Definition: indexidset.hh:452
persistent, globally unique Ids
Definition: yaspgrididset.hh:25
IdType subId(const typename std::remove_const< GridImp >::type::Traits::template Codim< 0 >::Entity &e, int i, unsigned int codim) const
get id of subentity
Definition: yaspgrididset.hh:54
std::remove_const< GridImp >::type::PersistentIndexType IdType
define the type used for persistent indices
Definition: yaspgrididset.hh:30
YaspGlobalIdSet()
Only default-constructible.
Definition: yaspgrididset.hh:35
IdType id(const typename std::remove_const< GridImp >::type::Traits::template Codim< cd >::Entity &e) const
get id of an entity
Definition: yaspgrididset.hh:44