#include <dune/grid/yaspgrid/yaspgridpersistentcontainer.hh>
◆ IndexType
The type used for the indices.
◆ YaspPersistentContainerIndex()
◆ index()
Map entity to index. 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, where cc is the template parameter of the function. |
- Returns
- An index in the range 0 ... Max number of entities in set - 1.
◆ size()
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).
◆ subIndex()
Map a subentity to an index.
The result of calling this method with an entity that is not in the index set is undefined.
- Template Parameters
-
cc | codimension of the entity |
- Parameters
-
[in] | e | reference to codimension cc 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.
The documentation for this class was generated from the following files: