|
const Grid & | grid () const |
|
const HostEntity & | hostEntity () const |
|
const HostElement & | hostElement () const |
|
int | subEntity () const |
|
void | initialize (const HostElement &hostElement) |
| initialize an entity More...
|
|
template<class HostIndexSet > |
HostIndexSet::IndexType | index (const HostIndexSet &indexSet) const |
| obtain the entity's index from a host IndexSet More...
|
|
template<class HostIndexSet > |
HostIndexSet::IndexType | subIndex (const HostIndexSet &indexSet, int i, unsigned int cd) const |
| obtain the index of a subentity from a host IndexSet More...
|
|
template<class HostIndexSet > |
bool | isContained (const HostIndexSet &indexSet) const |
| check whether the entity is contained in a host index set More...
|
|
template<class HostIdSet > |
HostIdSet::IdType | id (const HostIdSet &idSet) const |
| obtain the entity's id from a host IdSet More...
|
|
template<int codim, class Grid>
class Dune::GeoGrid::EntityBase< codim, Grid, true >
actual implementation of the entity
- Template Parameters
-
codim | codimension of the entity |
Grid | GeometryGrid, this entity belongs to |
fake | true, if the host grid does not provide this entity (do not specify, the default value is already the intended use) |
This specialization implements the case, where the host grid does not provide the entity for this codimension, i.e., fake = true.
template<int codim, class Grid >
obtain the geometry of this entity
Each DUNE entity encapsulates a geometry object, representing the map from the reference element to world coordinates. Wrapping the geometry is the main objective of the GeometryGrid.
The GeometryGrid provides geometries of order 1, obtained by interpolation of its corners \(y_i\). There corners are calculated from the corners \(x_i\) of the host geometry through the GeometryGrid's coordinate function \(c\), i.e., \(y_i = c( x_i )\).
- Returns
- a geometry object
References Dune::Concept::Geometry.
template<int codim, class Grid >
template<class HostIndexSet >
check whether the entity is contained in a host index set
This method is provided by the entity, because its implementation is different for fake and non-fake entities.
- Parameters
-
template<int codim, class Grid >
template<class HostIndexSet >
obtain the index of a subentity from a host IndexSet
This method is provided by the entity, because its implementation is different for fake and non-fake entities.
- Parameters
-
[in] | indexSet | host IndexSet to use |
[in] | i | number of the subentity |
[in] | cd | codimension of the subentity |