|
dune-grid 2.9.1
|
Loading...
Searching...
No Matches
scsgmapper.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (C) DUNE Project contributors, see file LICENSE.md in module root
39 public Mapper<typename GV::Grid,SingleCodimSingleGeomTypeMapper<GV,c>, typename GV::IndexSet::IndexType >
126 bool contains (const typename GV::template Codim<0>::Entity& e, int i, int cc, Index& result) const
185 class [[deprecated("Use SingleCodimSingleGeomTypeMapper instead! Will be removed after release 2.8.")]]
186 LeafSingleCodimSingleGeomTypeMapper : public SingleCodimSingleGeomTypeMapper<typename G::LeafGridView,c> {
223 class [[deprecated("Use SingleCodimSingleGeomTypeMapper instead! Will be removed after release 2.8.")]]
224 LevelSingleCodimSingleGeomTypeMapper : public SingleCodimSingleGeomTypeMapper<typename G::LevelGridView,c> {
Provides classes with basic mappers which are used to attach data to a grid.
std::ptrdiff_t index() const
#define DUNE_THROW(E, m)
Grid< dim, dimworld, ct, GridFamily >::LeafGridView leafGridView(const Grid< dim, dimworld, ct, GridFamily > &grid)
leaf grid view for the given grid
Definition common/grid.hh:819
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 common/grid.hh:802
Include standard header files.
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:112
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:126
decltype(std::declval< typename GV::IndexSet >().size(0)) size_type
Number type used for the overall size (the return value of the 'size' method)
Definition scsgmapper.hh:50
Index index(const EntityType &e) const
Map entity to array index.
Definition scsgmapper.hh:71
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:84
SingleCodimSingleGeomTypeMapper(const GV &gridView)
Construct mapper from grid and one of its index sets.
Definition scsgmapper.hh:56
void update(GV &&gridView)
Recalculates indices after grid adaptation.
Definition scsgmapper.hh:148
size_type size() const
Return total number of entities in the entity set managed by the mapper.
Definition scsgmapper.hh:100
void update()
Recalculates indices after grid adaptation.
Definition scsgmapper.hh:157
void update(const GV &gridView)
Recalculates indices after grid adaptation.
Definition scsgmapper.hh:137
Single codim and single geometry type mapper for leaf entities.
Definition scsgmapper.hh:186
LeafSingleCodimSingleGeomTypeMapper(const G &grid)
The constructor.
Definition scsgmapper.hh:192
void update()
Recalculates indices after grid adaptation.
Definition scsgmapper.hh:202
Single codim and single geometry type mapper for entities of one level.
Definition scsgmapper.hh:224
LevelSingleCodimSingleGeomTypeMapper(const G &grid, int level)
Definition scsgmapper.hh:231
void update()
Recalculates indices after grid adaptation.
Definition scsgmapper.hh:242
Different resources needed by all grid implementations.
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8