DUNE MultiDomainGrid (unstable)
multidomainmcmgmapper.hh
33 std::array<std::vector<IndexType>,GV::Grid::maxSubDomainIndex()> _offsets; // provide a map with all geometry types
129 return gridView().indexSet().index(subDomain,e) + _offsets[subDomain][GlobalGeometryTypeIndex::index(e.type())];
139 int map (SubDomainIndex subDomain, const typename GV::template Codim<0>::Entity& e, int i, unsigned int codim) const
187 bool contains (SubDomainIndex subDomain, const typename GV::template Codim<0>::Entity& e, int i, IndexType& result) const
Implementation class for a multiple codim and multiple geometry type mapper.
Definition: multidomainmcmgmapper.hh:88
int size(SubDomainIndex subDomain) const
Return total number of entities in the entity set managed by the mapper.
Definition: multidomainmcmgmapper.hh:156
void update(const GV &gv)
Recalculates indices after grid adaptation.
Definition: multidomainmcmgmapper.hh:207
bool contains(SubDomainIndex subDomain, const EntityType &e, IndexType &result) const
Returns true if the entity is contained in the index set.
Definition: multidomainmcmgmapper.hh:168
int map(SubDomainIndex subDomain, const typename GV::template Codim< 0 >::Entity &e, int i, unsigned int codim) const
Map subentity of codim 0 entity to array index.
Definition: multidomainmcmgmapper.hh:139
int map(SubDomainIndex subDomain, const EntityType &e) const
Map entity to array index.
Definition: multidomainmcmgmapper.hh:127
bool contains(SubDomainIndex subDomain, const typename GV::template Codim< 0 >::Entity &e, int i, IndexType &result) const
Returns true if the entity is contained in the index set.
Definition: multidomainmcmgmapper.hh:187
MultiDomainMCMGMapper(const GV &gv)
Construct mapper from grid and one of its index sets.
Definition: multidomainmcmgmapper.hh:113
|
Legal Statements / Impressum |
Hosted by TU Dresden & Uni Heidelberg |
generated with Hugo v0.111.3
(Nov 2, 23:43, 2025)