dune-grid
2.2.0
|
persistent, globally unique Ids More...
#include <dune/grid/sgrid.hh>
Public Types | |
typedef remove_const< GridImp > ::type::PersistentIndexType | IdType |
define the type used for persisitent indices |
Public Member Functions | |
SGridGlobalIdSet (const GridImp &g) | |
constructor stores reference to a grid | |
template<int cd> | |
IdType | id (const typename remove_const< GridImp >::type::Traits::template Codim< cd >::Entity &e) const |
get id of an entity | |
IdType | subId (const typename remove_const< GridImp >::type::Traits::template Codim< 0 >::Entity &e, int i, unsigned int codim) const |
get id of subentity | |
IdType | id (const EntityType &e) const |
Get id of an entity. This method is simpler to use than the one below. | |
IdType | id (const typename remove_const< GridImp >::type::Traits::template Codim< cc >::Entity &e) const |
Get id of an entity of codim cc. Unhandy because template parameter must be supplied explicitely. |
persistent, globally unique Ids
typedef remove_const<GridImp>::type::PersistentIndexType Dune::SGridGlobalIdSet< GridImp >::IdType |
define the type used for persisitent indices
Reimplemented from Dune::IdSet< GridImp, SGridGlobalIdSet< GridImp >, remove_const< GridImp >::type::PersistentIndexType >.
|
inlineexplicit |
constructor stores reference to a grid
|
inlineinherited |
Get id of an entity. This method is simpler to use than the one below.
|
inlineinherited |
Get id of an entity of codim cc. Unhandy because template parameter must be supplied explicitely.
|
inline |
get id of an entity
|
inline |
get id of subentity
Reimplemented from Dune::IdSet< GridImp, SGridGlobalIdSet< GridImp >, remove_const< GridImp >::type::PersistentIndexType >.