Dune Core Modules (2.5.0)
scsgmapper.hh
Go to the documentation of this file.
39 public Mapper<typename GV::Grid,SingleCodimSingleGeomTypeMapper<GV,c>, typename GV::IndexSet::IndexType >
66 static_assert(EntityType::codimension == c, "Entity of wrong codim passed to SingleCodimSingleGeomTypeMapper");
119 bool contains (const typename GV::template Codim<0>::Entity& e, int i, int cc, Index& result) const
154 class LeafSingleCodimSingleGeomTypeMapper : public SingleCodimSingleGeomTypeMapper<typename G::LeafGridView,c> {
176 class LevelSingleCodimSingleGeomTypeMapper : public SingleCodimSingleGeomTypeMapper<typename G::LevelGridView,c> {
Single codim and single geometry type mapper for leaf entities.
Definition: scsgmapper.hh:154
LeafSingleCodimSingleGeomTypeMapper(const G &grid)
The constructor.
Definition: scsgmapper.hh:159
Single codim and single geometry type mapper for entities of one level.
Definition: scsgmapper.hh:176
Implementation class for a single codim and single geometry type mapper.
Definition: scsgmapper.hh:40
bool contains(const EntityType &e, Index &result) const
Returns true if the entity is contained in the index set.
Definition: scsgmapper.hh:105
GV::IndexSet::IndexType Index
Number type used for indices.
Definition: scsgmapper.hh:44
bool contains(const typename GV::template Codim< 0 >::Entity &e, int i, int cc, Index &result) const
Returns true if the entity is contained in the index set.
Definition: scsgmapper.hh:119
Index index(const EntityType &e) const
Map entity to array index.
Definition: scsgmapper.hh:64
Index subIndex(const typename GV::template Codim< 0 >::Entity &e, int i, unsigned int codim) const
Map subentity of codim 0 entity to array index.
Definition: scsgmapper.hh:77
SingleCodimSingleGeomTypeMapper(const GV &gridView)
Construct mapper from grid and one of its index sets.
Definition: scsgmapper.hh:50
void update()
Recalculates map after mesh adaptation.
Definition: scsgmapper.hh:127
int size() const
Return total number of entities in the entity set managed by the mapper.
Definition: scsgmapper.hh:93
Different resources needed by all grid implementations.
Grid< dim, dimworld, ct, GridFamily >::LeafGridView leafGridView(const Grid< dim, dimworld, ct, GridFamily > &grid)
leaf grid view for the given grid
Definition: grid.hh:874
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 13, 23:29, 2024)