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;
46 return e.impl().persistentIndex();
55 int i,
unsigned int codim )
const
57 return e.impl().subPersistentIndex(i,codim);
Include standard header files.
Definition agrid.hh:60
Export the type of the entity used as parameter in the id(...) method.
Definition common/indexidset.hh:457
IdType subId(const typename std::remove_const< YaspGrid< dim, Coordinates > >::type::Traits::template Codim< 0 >::Entity &e, int i, unsigned int codim) const
Definition yaspgrididset.hh:54
std::remove_const< YaspGrid< dim, Coordinates > >::type::PersistentIndexType IdType
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