Dune Core Modules (2.5.0)
universalmapper.hh
Go to the documentation of this file.
135 bool contains (const typename G::Traits::template Codim<0>::Entity& e, int i, int cc, Index& result) const
LocalUniversalMapper(const G &grid)
The constructor.
Definition: universalmapper.hh:203
Implements a mapper for an arbitrary subset of entities.
Definition: universalmapper.hh:38
bool contains(const EntityType &e, Index &result) const
Returns true if the entity is contained in the index set.
Definition: universalmapper.hh:114
Index subIndex(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:83
bool contains(const typename G::Traits::template Codim< 0 >::Entity &e, int i, int cc, Index &result) const
Returns true if the entity is contained in the index set.
Definition: universalmapper.hh:135
UniversalMapper(const G &grid, const IDS &idset)
Construct mapper from grid and one of its id sets.
Definition: universalmapper.hh:51
IndexType Index
Number type used for indices.
Definition: universalmapper.hh:43
Index index(const EntityType &e) const
Map entity to array index.
Definition: universalmapper.hh:65
int size() const
Return total number of entities in the entity set managed by the mapper.
Definition: universalmapper.hh:100
void update()
Recalculates map after mesh adaptation.
Definition: universalmapper.hh:150
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 23, 23:29, 2024)