dune-grid  2.2.0
Public Types | Public Member Functions
Dune::YaspGlobalIdSet< GridImp > Class Template Reference

persistent, globally unique Ids More...

#include <dune/grid/yaspgrid.hh>

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

List of all members.

Public Types

typedef remove_const< GridImp >
::type::PersistentIndexType 
IdType
 define the type used for persisitent indices

Public Member Functions

 YaspGlobalIdSet (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.

Detailed Description

template<class GridImp>
class Dune::YaspGlobalIdSet< GridImp >

persistent, globally unique Ids


Member Typedef Documentation

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

Constructor & Destructor Documentation

template<class GridImp>
Dune::YaspGlobalIdSet< GridImp >::YaspGlobalIdSet ( const GridImp &  g) [inline, explicit]

constructor stores reference to a grid


Member Function Documentation

IdType Dune::IdSet< GridImp, YaspGlobalIdSet< GridImp > , remove_const< GridImp >::type::PersistentIndexType >::id ( const EntityType &  e) const [inline, inherited]

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

IdType Dune::IdSet< GridImp, YaspGlobalIdSet< GridImp > , remove_const< GridImp >::type::PersistentIndexType >::id ( const typename remove_const< GridImp >::type::Traits::template Codim< cc >::Entity e) const [inline, inherited]

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

template<class GridImp>
template<int cd>
IdType Dune::YaspGlobalIdSet< 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::YaspGlobalIdSet< GridImp >::subId ( const typename remove_const< GridImp >::type::Traits::template Codim< 0 >::Entity e,
int  i,
unsigned int  codim 
) const [inline]

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