Dune Core Modules (2.3.1)
universalmapper.hh
Go to the documentation of this file.
141 bool contains (const typename G::Traits::template Codim<0>::Entity& e, int i, int cc, int& result) const
Implements a mapper for an arbitrary subset of entities.
Definition: universalmapper.hh:41
int map(const EntityType &e) const
Map entity to array index.
Definition: universalmapper.hh:70
UniversalMapper(const G &grid, const IDS &idset)
Construct mapper from grid and one of its id sets.
Definition: universalmapper.hh:56
bool contains(const EntityType &e, int &result) const
Returns true if the entity is contained in the index set.
Definition: universalmapper.hh:120
bool contains(const typename G::Traits::template Codim< 0 >::Entity &e, int i, int cc, int &result) const
Returns true if the entity is contained in the index set.
Definition: universalmapper.hh:141
int map(const typename G::Traits::template Codim< 0 >::Entity &e, int i, int cc) const
Map subentity of codim 0 entity to array index.
Definition: universalmapper.hh:89
int size() const
Return total number of entities in the entity set managed by the mapper.
Definition: universalmapper.hh:106
void update()
Recalculates map after mesh adaptation.
Definition: universalmapper.hh:156
Provides classes with basic mappers which are used to attach data to a grid.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)