#include <dune/grid/albertagrid/indexsets.hh >
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.
auto size (GeometryType type) const
Return total number of entities of given geometry type in entity set .
◆ DofNumbering
template<int dim, int dimworld>
◆ ElementInfo
template<int dim, int dimworld>
◆ Grid
template<int dim, int dimworld>
◆ IndexType
template<int dim, int dimworld>
◆ Types
template<int dim, int dimworld>
◆ AlbertaGridIndexSet()
template<int dim, int dimworld>
◆ ~AlbertaGridIndexSet()
template<int dim, int dimworld>
◆ contains()
template<int dim, int dimworld>
◆ index() [1/2]
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.
Parameters
e Reference to codim cc entity. Since entity knows its codimension, automatic extraction is possible.
Returns An index in the range 0 ... Max number of entities in set - 1.
◆ index() [2/2]
template<int dim, int dimworld>
template<int cc>
return hierarchic index of given entity
◆ size() [1/3]
template<int dim, int dimworld>
◆ size() [2/3]
Return total number of entities of given geometry type in entity set .
Parameters
[in] type A valid geometry type.
Returns number of entities (type is auto determined by the implementation. std::size_t is the expected return type).
◆ size() [3/3]
template<int dim, int dimworld>
◆ subIndex() [1/2]
Map a subentity to an index.
The result of calling this method with an entity that is not in the index set is undefined.
Note This method exists for convenience only. It extracts the codimension from the type of the entity, which can be guessed by the compiler.
Template Parameters
Entity type of entity (must be GridImp::Codim< cc >::Entity for some cc)
Parameters
[in] e reference to entity
[in] i number subentity of e within the codimension
[in] codim codimension of the subentity we're interested in
Note The parameter codim
denotes the codimension with respect to the grid, i.e., it must satisfy cc <= codim <= dimension.
Returns An index in the range 0 ... Max number of entities in set - 1.
◆ subIndex() [2/2]
template<int dim, int dimworld>
template<int cc>
return subIndex of given enitiy's sub entity
◆ types()
template<int dim, int dimworld>
◆ update()
template<int dim, int dimworld>
template<class Iterator >
◆ dimension
template<int dim, int dimworld>
The documentation for this class was generated from the following files: