Dune Core Modules (2.3.1)
•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
scsgmapper.hh
Go to the documentation of this file.
101 bool contains (const typename GV::template Codim<0>::Entity& e, int i, int cc, int& result) const;
134 inline int SingleCodimSingleGeomTypeMapper<GV,c>::map (const typename GV::template Codim<0>::Entity& e, int i, unsigned int codim) const
149 inline bool SingleCodimSingleGeomTypeMapper<GV,c>::contains (const EntityType& e, int& result) const
156 inline bool SingleCodimSingleGeomTypeMapper<GV,c>::contains (const typename GV::template Codim<0>::Entity& e, int i, int cc, int& result) const
181 class LeafSingleCodimSingleGeomTypeMapper : public SingleCodimSingleGeomTypeMapper<typename G::LeafGridView,c> {
205 class LevelSingleCodimSingleGeomTypeMapper : public SingleCodimSingleGeomTypeMapper<typename G::LevelGridView,c> {
Single codim and single geometry type mapper for leaf entities.
Definition: scsgmapper.hh:181
Single codim and single geometry type mapper for entities of one level.
Definition: scsgmapper.hh:205
Implementation class for a single codim and single geometry type mapper.
Definition: scsgmapper.hh:42
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: scsgmapper.hh:156
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: scsgmapper.hh:134
int map(const EntityType &e) const
Map entity to array index.
Definition: scsgmapper.hh:126
SingleCodimSingleGeomTypeMapper(const GV &gridView)
Construct mapper from grid and one of its index sets.
Definition: scsgmapper.hh:116
bool contains(const EntityType &e, int &result) const
Returns true if the entity is contained in the index set.
Definition: scsgmapper.hh:149
void update()
Recalculates map after mesh adaptation.
Definition: scsgmapper.hh:105
int size() const
Return total number of entities in the entity set managed by the mapper.
Definition: scsgmapper.hh:142
Different resources needed by all grid implementations.
#define dune_static_assert(COND, MSG)
Helper template so that compilation fails if condition is not true.
Definition: static_assert.hh:79
Provides classes with basic mappers which are used to attach data to a grid.
