Dune Core Modules (2.5.0)
mcmgmapper.hh
Go to the documentation of this file.
102 public Mapper<typename GV::Grid,MultipleCodimMultipleGeomTypeMapper<GV,Layout>, typename GV::IndexSet::IndexType >
160 Index subIndex (const typename GV::template Codim<0>::Entity& e, int i, unsigned int codim) const
210 bool contains (const typename GV::template Codim<0>::Entity& e, int i, int cc, Index& result) const
334 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:268
bool isNone() const
Return true if entity is a singular of any dimension.
Definition: type.hh:560
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:275
LeafMultipleCodimMultipleGeomTypeMapper(const G &grid, const Layout< G::dimension > layout)
The constructor.
Definition: mcmgmapper.hh:294
LeafMultipleCodimMultipleGeomTypeMapper(const G &grid)
The constructor.
Definition: mcmgmapper.hh:282
Multiple codim and multiple geometry type mapper for entities of one level.
Definition: mcmgmapper.hh:313
LevelMultipleCodimMultipleGeomTypeMapper(const G &grid, int level)
The constructor.
Definition: mcmgmapper.hh:321
LevelMultipleCodimMultipleGeomTypeMapper(const G &grid, int level, const Layout< G::dimension > layout)
The constructor.
Definition: mcmgmapper.hh:334
Implementation class for a multiple codim and multiple geometry type mapper.
Definition: mcmgmapper.hh:103
MultipleCodimMultipleGeomTypeMapper(const GV &gridView_)
Construct mapper from grid and one of its index sets.
Definition: mcmgmapper.hh:130
void update()
Recalculates map after mesh adaptation.
Definition: mcmgmapper.hh:225
bool contains(const EntityType &e, Index &result) const
Returns true if the entity is contained in the index set.
Definition: mcmgmapper.hh:191
Index index(const EntityType &e) const
Map entity to array index.
Definition: mcmgmapper.hh:146
GV::IndexSet::IndexType Index
Number type used for indices.
Definition: mcmgmapper.hh:107
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: mcmgmapper.hh:210
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: mcmgmapper.hh:160
MultipleCodimMultipleGeomTypeMapper(const GV &gridView_, const Layout< GV::dimension > layout)
Construct mapper from grid and one of its index sets.
Definition: mcmgmapper.hh:117
int size() const
Return total number of entities in the entity set managed by the mapper.
Definition: mcmgmapper.hh:179
bool gt(const T &first, const T &second, typename EpsilonType< T >::Type epsilon)
test if first greater than second
Definition: float_cmp.cc:132
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
Grid< dim, dimworld, ct, GridFamily >::LevelGridView levelGridView(const Grid< dim, dimworld, ct, GridFamily > &grid, int level)
level grid view for the given grid and level.
Definition: grid.hh:857
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:757
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.111.3
(Nov 12, 23:30, 2024)