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 RemoveConst< 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 RemoveConst< GridImp >::Type::Traits::template Codim< cd >::Entity &e) const
 get id of an entity
template<int cc>
IdType subId (const typename RemoveConst< 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 RemoveConst< 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 12 Dec 2007 with Doxygen (ver 1.5.1)