|
dune-grid 2.11
|
#include <dune/grid/albertagrid/indexsets.hh>

Public Types | |
| typedef AlbertaGrid< dim, dimworld > | Grid |
| typedef Base::IndexType | IndexType |
| typedef Base::Types | Types |
| typedef Alberta::ElementInfo< dimension > | ElementInfo |
| typedef Alberta::HierarchyDofNumbering< dimension > | DofNumbering |
Public Member Functions | |
| AlbertaGridIndexSet (const DofNumbering &dofNumbering) | |
| ~AlbertaGridIndexSet () | |
| template<class Entity> | |
| bool | contains (const Entity &entity) const |
| template<int cc> | |
| IndexType | index (const typename Traits::template Codim< cc >::Entity &entity) const |
| return hierarchic index of given entity | |
| template<int cc> | |
| IndexType | subIndex (const typename Traits::template Codim< cc >::Entity &entity, int i, unsigned int codim) const |
| return subIndex of given enitiy's sub entity | |
| std::size_t | size (const GeometryType &type) const |
| std::size_t | size (int codim) const |
| Types | types (int codim) const |
| template<class Iterator> | |
| void | update (const Iterator &begin, const Iterator &end) |
| IndexType | index (const Entity &e) const |
| Map entity to index. Easier to use than the above because codimension template parameter need not be supplied explicitly. The result of calling this method with an entity that is not in the index set is undefined. | |
| IndexType | subIndex (const Entity &e, int i, unsigned int codim) const |
| Map a subentity to an index. | |
Access to entity set | |
| auto | size (GeometryType type) const |
Return total number of entities of given geometry type in entity set ![]() | |
Static Public Attributes | |
| static const int | dimension = Grid::dimension |
| typedef Alberta::HierarchyDofNumbering< dimension > Dune::AlbertaGridIndexSet< dim, dimworld >::DofNumbering |
| typedef Alberta::ElementInfo< dimension > Dune::AlbertaGridIndexSet< dim, dimworld >::ElementInfo |
| typedef AlbertaGrid< dim, dimworld > Dune::AlbertaGridIndexSet< dim, dimworld >::Grid |
| typedef Base::IndexType Dune::AlbertaGridIndexSet< dim, dimworld >::IndexType |
| typedef Base::Types Dune::AlbertaGridIndexSet< dim, dimworld >::Types |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
Map entity to index. Easier to use than the above because codimension template parameter need not be supplied explicitly. The result of calling this method with an entity that is not in the index set is undefined.
| e | Reference to codim cc entity. Since entity knows its codimension, automatic extraction is possible. |
|
inline |
return hierarchic index of given entity
|
inline |
|
inline |
|
inlineinherited |
Return total number of entities of given geometry type in entity set 
| [in] | type | A valid geometry type. |
|
inline |
Map a subentity to an index.
The result of calling this method with an entity that is not in the index set is undefined.
| Entity | type of entity (must be GridImp::Codim< cc >::Entity for some cc) |
| [in] | e | reference to entity |
| [in] | i | number subentity of e within the codimension |
| [in] | codim | codimension of the subentity we're interested in |
|
inline |
return subIndex of given enitiy's sub entity
|
inline |
|
inline |
|
static |