Dune Core Modules (2.3.1)
mcmgmapper.hh
Go to the documentation of this file.
212 bool contains (const typename GV::template Codim<0>::Entity& e, int i, int cc, int& result) const
329 LevelMultipleCodimMultipleGeomTypeMapper (const G& grid, int level, const Layout<G::dimension> layout)
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:25
Compute indices for geometry types, taking the dimension into account.
Definition: typeindex.hh:97
static std::size_t index(const GeometryType >)
Compute the index for the given geometry type over all dimensions.
Definition: typeindex.hh:145
Multiple codim and multiple geometry type mapper for leaf entities.
Definition: mcmgmapper.hh:270
LeafMultipleCodimMultipleGeomTypeMapper(const G &grid, const Layout< G::dimension > layout)
The constructor.
Definition: mcmgmapper.hh:289
LeafMultipleCodimMultipleGeomTypeMapper(const G &grid)
The constructor.
Definition: mcmgmapper.hh:277
Multiple codim and multiple geometry type mapper for entities of one level.
Definition: mcmgmapper.hh:308
LevelMultipleCodimMultipleGeomTypeMapper(const G &grid, int level)
The constructor.
Definition: mcmgmapper.hh:316
LevelMultipleCodimMultipleGeomTypeMapper(const G &grid, int level, const Layout< G::dimension > layout)
The constructor.
Definition: mcmgmapper.hh:329
Implementation class for a multiple codim and multiple geometry type mapper.
Definition: mcmgmapper.hh:104
MultipleCodimMultipleGeomTypeMapper(const GV &gridView_)
Construct mapper from grid and one of its index sets.
Definition: mcmgmapper.hh:137
void update()
Recalculates map after mesh adaptation.
Definition: mcmgmapper.hh:220
bool contains(const typename GV::template Codim< 0 >::Entity &e, int i, int cc, int &result) const
Returns true if the entity is contained in the index set.
Definition: mcmgmapper.hh:212
int map(const typename GV::template Codim< 0 >::Entity &e, int i, unsigned int codim) const
Map subentity of codim 0 entity to array index.
Definition: mcmgmapper.hh:166
int map(const EntityType &e) const
Map entity to array index.
Definition: mcmgmapper.hh:153
bool contains(const EntityType &e, int &result) const
Returns true if the entity is contained in the index set.
Definition: mcmgmapper.hh:193
MultipleCodimMultipleGeomTypeMapper(const GV &gridView_, const Layout< GV::dimension > layout)
Construct mapper from grid and one of its index sets.
Definition: mcmgmapper.hh:124
int size() const
Return total number of entities in the entity set managed by the mapper.
Definition: mcmgmapper.hh:181
bool gt(const T &first, const T &second, typename EpsilonType< T >::Type epsilon)
test if first greater than second
Definition: float_cmp.cc:132
Provides classes with basic mappers which are used to attach data to a grid.
static const ReferenceElement< ctype, dim > & general(const GeometryType &type)
get general reference elements
Definition: referenceelements.hh:568
A unique label for each type of element that can occur in a grid.
Helper classes to provide indices for geometrytypes for use in a vector.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.80.0
(May 16, 22:29, 2024)