|
dune-grid 2.11
|
#include <dune/grid/yaspgrid/yaspgridpersistentcontainer.hh>

Public Types | |
| typedef std::size_t | IndexType |
| The type used for the indices. | |
Public Member Functions | |
| YaspPersistentContainerIndex (const Grid &grid, int codim) | |
| template<class Entity> | |
| IndexType | index (const Entity &e) const |
| Map entity to index. The result of calling this method with an entity that is not in the index set is undefined. | |
| template<class Entity> | |
| IndexType | subIndex (const Entity &e, int i, unsigned int codim) const |
| Map a subentity to an index. | |
| std::size_t | size (int) const |
Return total number of entities of given geometry type in entity set ![]() | |
| typedef std::size_t Dune::YaspPersistentContainerIndex< Grid >::IndexType |
The type used for the indices.
|
inline |
|
inline |
Map entity to index. The result of calling this method with an entity that is not in the index set is undefined.
| e | Reference to codim cc entity, where cc is the template parameter of the function. |
|
inline |
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.
| cc | codimension of the entity |
| [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 |