#include <dune/foamgrid/foamgrid/foamgridindexsets.hh>
|
| FoamGridLevelIndexSet (const GridImp &grid, int level) |
|
template<int codim> |
int | index (const typename GridImp::Traits::template Codim< codim >::Entity &e) const |
| get index of an entity
|
|
template<int cc> |
int | subIndex (const typename GridImp::Traits::template Codim< cc >::Entity &e, int i, unsigned int codim) const |
| get index of subentity of an entity
|
|
int | size (int codim) const |
| get number of entities of given codim, type and on this level
|
|
int | size (GeometryType type) const |
| get number of entities of given codim, type and on this level
|
|
const std::vector< GeometryType > & | geomTypes (int codim) const |
| Deliver all geometry types used in this grid.
|
|
std::vector< GeometryType > | types (int codim) const |
| Deliver all geometry types used in this grid.
|
|
template<class EntityType > |
bool | contains (const EntityType &e) const |
| Return true if the given entity is contained in the index set.
|
|
void | update () |
| Set up the index set.
|
|
template<class GridImp>
class Dune::FoamGridLevelIndexSet< GridImp >
- Todo:
- Take the index types from the host grid
◆ FoamGridLevelIndexSet()
◆ contains()
template<class GridImp >
template<class EntityType >
Return true if the given entity is contained in the index set.
This checks only for the level. We assume that e belongs to the correct grid
◆ geomTypes()
Deliver all geometry types used in this grid.
◆ index()
template<class GridImp >
template<int codim>
◆ size() [1/2]
get number of entities of given codim, type and on this level
◆ size() [2/2]
get number of entities of given codim, type and on this level
◆ subIndex()
template<class GridImp >
template<int cc>
int Dune::FoamGridLevelIndexSet< GridImp >::subIndex |
( |
const typename GridImp::Traits::template Codim< cc >::Entity & |
e, |
|
|
int |
i, |
|
|
unsigned int |
codim |
|
) |
| const |
|
inline |
get index of subentity of an entity
◆ types()
Deliver all geometry types used in this grid.
◆ update()
Set up the index set.
- Todo:
- Remove this const cast
- Todo:
- Remove this const cast
- Todo:
- Remove this const cast
The documentation for this class was generated from the following file: