Dune::SGridGlobalIdSet< GridImp > Class Template Reference

#include <sgrid.hh>

Inheritance diagram for Dune::SGridGlobalIdSet< GridImp >:

Dune::IdSetDefaultImplementation< GridImp, IdSetImp, IdTypeImp > Dune::IdSet< GridImp, IdSetImp, IdTypeImp >

List of all members.


Detailed Description

template<class GridImp>
class Dune::SGridGlobalIdSet< GridImp >

persistent, globally unique Ids

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
template<int cc>
IdType subId (const typename remove_const< GridImp >::type::Traits::template Codim< 0 >::Entity &e, int i) const
 get id of subentity
template<class EntityType>
IdType id (const EntityType &e) const
 Get id of an entity. This method is simpler to use than the one below.
template<int cc>
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.

The documentation for this class was generated from the following file:

Generated on Thu Apr 2 10:40:48 2009 for dune-grid by  doxygen 1.5.6