5 #ifndef DUNE_GRID_YASPGRIDIDSET_HH 6 #define DUNE_GRID_YASPGRIDIDSET_HH 18 template<
class Gr
idImp>
19 class YaspGlobalIdSet :
public IdSet<GridImp,YaspGlobalIdSet<GridImp>,
20 typename std::remove_const<GridImp>::type::PersistentIndexType >
26 typedef YaspGlobalIdSet< GridImp > This;
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);
64 #endif // DUNE_GRID_YASPGRIDIDSET_HH concept Entity
Model of a grid entity.
Definition: concepts/entity.hh:119
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
concept IdSet
Model of an id set.
Definition: concepts/indexidset.hh:105
std::remove_const< GridImp >::type::PersistentIndexType IdType
define the type used for persistent indices
Definition: yaspgrididset.hh:30
std::remove_const< const Dune::YaspGrid< dim, Coordinates > >::type::PersistentIndexType IdType
Type used to represent an id.
Definition: common/indexidset.hh:453
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
Include standard header files.
Definition: agrid.hh:59
YaspGlobalIdSet()
Only default-constructible.
Definition: yaspgrididset.hh:35
Id Set Interface.
Definition: common/grid.hh:349