dune-grid
2.2.0
|
hierarchic index set of AlbertaGrid More...
#include <dune/grid/albertagrid/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 |
IdType | subId (const typename Grid::template Codim< 0 >::Entity &e, int i, unsigned int subcodim) const |
template<int codim> | |
IdType | subId (const typename Grid::template Codim< codim >::Entity &e, int i, unsigned int subcodim) const |
template<class Entity > | |
IdType | subId (const Entity &e, int i, unsigned int subcodim) const |
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< AlbertaGrid< dim, dimworld > >::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 | subId (const typename remove_const< AlbertaGrid< dim, dimworld > >::type::Traits::template Codim< 0 >::Entity &e, int i, unsigned int codim) const |
Get id of subentity i of codim cc of a codim 0 entity. | |
Friends | |
class | AlbertaGrid< dim, dimworld > |
hierarchic index set of AlbertaGrid
typedef Base::IdType Dune::AlbertaGridIdSet< dim, dimworld >::IdType |
export type of id
Reimplemented from Dune::IdSet< AlbertaGrid< dim, dimworld >, AlbertaGridIdSet< dim, dimworld >, unsigned int >.
IdType Dune::IdSet< AlbertaGrid< dim, dimworld > , AlbertaGridIdSet< dim, dimworld > , unsigned int >::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< AlbertaGrid< dim, dimworld > , AlbertaGridIdSet< dim, dimworld > , unsigned int >::id | ( | const typename remove_const< AlbertaGrid< dim, dimworld > >::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.
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.
References Dune::AlbertaGridHierarchicIndexSet< dim, dimworld >::index().
IdType Dune::IdSet< AlbertaGrid< dim, dimworld > , AlbertaGridIdSet< dim, dimworld > , unsigned int >::subId | ( | const typename remove_const< AlbertaGrid< dim, dimworld > >::type::Traits::template Codim< 0 >::Entity & | e, |
int | i, | ||
unsigned int | codim | ||
) | const [inline, inherited] |
Get id of subentity i of codim cc of a codim 0 entity.
IdType Dune::AlbertaGridIdSet< dim, dimworld >::subId | ( | const typename Grid::template Codim< 0 >::Entity & | e, |
int | i, | ||
unsigned int | subcodim | ||
) | const [inline] |
Get id of subentity i of codim cc of a codim 0 entity.
References Dune::AlbertaGridHierarchicIndexSet< dim, dimworld >::subIndex().
IdType Dune::AlbertaGridIdSet< dim, dimworld >::subId | ( | const typename Grid::template Codim< codim >::Entity & | e, |
int | i, | ||
unsigned int | subcodim | ||
) | const [inline] |
IdType Dune::AlbertaGridIdSet< dim, dimworld >::subId | ( | const Entity & | e, |
int | i, | ||
unsigned int | subcodim | ||
) | const [inline] |
friend class AlbertaGrid< dim, dimworld > [friend] |