Dune::IdSetDefaultImplementation< GridImp, IdSetImp, IdTypeImp > Class Template Reference
[Grid Developer API]

#include <indexidset.hh>

Inheritance diagram for Dune::IdSetDefaultImplementation< GridImp, IdSetImp, IdTypeImp >:

Dune::IdSet< GridImp, IdSetImp, IdTypeImp > Dune::AlbertaGridIdSet< dim, dimworld > Dune::SGridGlobalIdSet< GridImp > Dune::YaspGlobalIdSet< GridImp > Dune::YaspGlobalIdSet< Dune::YaspGrid< dim, dim > >

List of all members.


Detailed Description

template<class GridImp, class IdSetImp, class IdTypeImp>
class Dune::IdSetDefaultImplementation< GridImp, IdSetImp, IdTypeImp >

Id Set DefaultImplementation.

Template parameters are:

GridImp
A Dune grid type.
IdSetImp
An implementation of the id set interface.
IdTypeImp
The type used for the ids (which is returned by functions returning an id).

Public Types

typedef IdTypeImp IdType
 define the type used for persistent indices

Public Member Functions

template<int cc>
IdType subId (const typename remove_const< GridImp >::type::Traits::template Codim< 0 >::Entity &e, int i) const
 get id of subentity i of codim cc
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 Sun Nov 15 22:28:55 2009 for dune-grid by  doxygen 1.5.6