#include <indexsets.hh>
Public Types | |
typedef Base::IdType | IdType |
export type of id | |
Public Member Functions | |
template<class Entity> | |
IdType | id (const Entity &e) const |
template<int codim> | |
IdType | id (const typename Grid::template Codim< codim >::Entity &e) const |
template<int codim> | |
IdType | subId (const typename Grid::template Codim< 0 >::Entity &e, int i) const |
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. |
IdType Dune::AlbertaGridIdSet< dim, dimworld >::id | ( | const Entity & | e | ) | const [inline] |
Get id of an entity. This method is simpler to use than the one below.
References Dune::Entity< cd, dim, GridImp, EntityImp >::codimension.
IdType Dune::AlbertaGridIdSet< dim, dimworld >::id | ( | const typename Grid::template Codim< codim >::Entity & | e | ) | const [inline] |
Get id of an entity of codim cc. Unhandy because template parameter must be supplied explicitely.
IdType Dune::AlbertaGridIdSet< dim, dimworld >::subId | ( | const typename Grid::template Codim< 0 >::Entity & | e, | |
int | i | |||
) | const [inline] |
Get id of subentity i of codim cc of a codim 0 entity.