Dune::IdSetDefaultImplementation< GridImp, IdSetImp, IdTypeImp > Class Template Reference
[Grid Developer API]
#include <indexidset.hh>
Inheritance diagram for Dune::IdSetDefaultImplementation< GridImp, IdSetImp, IdTypeImp >:

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 RemoveConst< 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 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: