DUNE MultiDomainGrid (2.9)
Dune::mdgrid::IndexSetWrapper< GridImp, HostGridViewType > Class Template Reference
#include <dune/grid/multidomaingrid/indexsets.hh>
Public Member Functions | |
template<int codim> | |
IndexType | index (const typename Grid::Traits::template Codim< codim >::Entity &e) const |
Returns the index of the entity with codimension codim. | |
template<typename Entity > | |
IndexType | index (const Entity &e) const |
Returns the index of the entity. | |
template<int codim> | |
IndexType | subIndex (const typename Grid::Traits::template Codim< codim >::Entity &e, int i, unsigned int cd) const |
Returns the subdindex of the i-th subentity of e with codimension codim. | |
template<typename Entity > | |
IndexType | subIndex (const Entity &e, int i, unsigned int cd) const |
Returns the subdindex of the i-th subentity of e with codimension codim. | |
Types | types (int codim) const |
Returns a list of all geometry types with codimension codim contained in the grid. | |
IndexType | size (GeometryType type) const |
Returns the number of entities with GeometryType type in the grid. | |
IndexType | size (int codim) const |
Returns the number of entities with codimension codim in the grid. | |
template<typename EntityType > | |
bool | contains (const EntityType &e) const |
Returns true if the entity is contained in the grid. | |
template<typename EntityType > | |
const MapEntry< EntityType::codimension >::SubDomainSet & | subDomains (const EntityType &e) const |
Returns a constant reference to the SubDomainSet of the given entity. | |
template<int cc> | |
const MapEntry< cc >::SubDomainSet & | subDomains (const typename Grid::Traits::template Codim< cc >::Entity &e) const |
template<class EntityType > | |
IndexType | index (SubDomainIndex subDomain, const EntityType &e) const |
Returns the index of the entity in a specific subdomain. | |
template<int cc> | |
IndexType | index (SubDomainIndex subDomain, const typename Grid::Traits::template Codim< cc >::Entity &e) const |
template<typename EntityType > | |
bool | contains (SubDomainIndex subDomain, const EntityType &e) const |
Returns true if the entity is contained in a specific subdomain. | |
Detailed Description
template<typename GridImp, typename HostGridViewType>
class Dune::mdgrid::IndexSetWrapper< GridImp, HostGridViewType >
class Dune::mdgrid::IndexSetWrapper< GridImp, HostGridViewType >
Index set for the MultiDomainGrid.
Member Function Documentation
◆ index()
template<typename GridImp , typename HostGridViewType >
template<int cc>
|
inline |
Returns the index of the entity with codimension cc in a specific subdomain.
- Template Parameters
-
the codimension of the entity.
◆ subDomains()
template<typename GridImp , typename HostGridViewType >
template<int cc>
|
inline |
Returns a constant reference to the SubDomainSet of the given entity with codimension cc.
- Template Parameters
-
cc the codimension of the entity.
The documentation for this class was generated from the following file:
- dune/grid/multidomaingrid/indexsets.hh
