dune-grid  2.4.1
Public Types | Public Member Functions | List of all members
Dune::SGridGlobalIdSet< GridImp > Class Template Reference

persistent, globally unique Ids More...

#include <dune/grid/sgrid.hh>

Inheritance diagram for Dune::SGridGlobalIdSet< GridImp >:
Dune::IdSet< GridImp, SGridGlobalIdSet< GridImp >, remove_const< GridImp >::type::PersistentIndexType >

Public Types

typedef remove_const< GridImp >
::type::PersistentIndexType 
IdType
 define the type used for persistent indices More...
 

Public Member Functions

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

Detailed Description

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

persistent, globally unique Ids

Member Typedef Documentation

template<class GridImp>
typedef remove_const<GridImp>::type::PersistentIndexType Dune::SGridGlobalIdSet< GridImp >::IdType

define the type used for persistent indices

Member Function Documentation

IdType Dune::IdSet< GridImp, SGridGlobalIdSet< GridImp > , remove_const< GridImp >::type::PersistentIndexType >::id ( const Entity e) const
inlineinherited

Get id of an entity. This method is simpler to use than the one below.

IdType Dune::IdSet< GridImp, SGridGlobalIdSet< GridImp > , remove_const< GridImp >::type::PersistentIndexType >::id ( const typename remove_const< GridImp >::type::Traits::template Codim< cc >::Entity e) const
inlineinherited

Get id of an entity of codim cc. Unhandy because template parameter must be supplied explicitely.

template<class GridImp>
template<int cd>
IdType Dune::SGridGlobalIdSet< GridImp >::id ( const typename remove_const< GridImp >::type::Traits::template Codim< cd >::Entity e) const
inline

get id of an entity

template<class GridImp>
IdType Dune::SGridGlobalIdSet< GridImp >::subId ( const typename remove_const< GridImp >::type::Traits::template Codim< 0 >::Entity e,
int  i,
unsigned int  codim 
) const
inline

get id of subentity


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