#include <dune/grid/identitygrid/identitygridindexsets.hh>
|
typedef HostGrid::Traits::LocalIdSet::IdType | IdType |
| define the type used for persistent local ids More...
|
|
|
| IdentityGridLocalIdSet (const GridImp &g) |
| constructor stores reference to a grid More...
|
|
template<int cd> |
IdType | id (const typename std::remove_const< GridImp >::type::Traits::template Codim< cd >::Entity &e) const |
| get id of an entity More...
|
|
IdType | subId (const typename std::remove_const< GridImp >::type::template Codim< 0 >::Entity &e, int i, int codim) const |
| get id of subEntity More...
|
|
void | update () |
|
IdType | id (const Entity &e) const |
| Get id of an entity. This method is simpler to use than the one below. More...
|
|
IdType | id (const typename Codim< cc >::Entity &e) const |
| Get id of an entity of codim cc. Unhandy because template parameter must be supplied explicitly. More...
|
|
IdType | subId (const typename Codim< 0 >::Entity &e, int i, unsigned int codim) const |
| Get id of subentity i of co-dimension codim of a co-dimension 0 entity. More...
|
|
|
static constexpr auto | dimension |
| dimension of the grid (maximum allowed codimension) More...
|
|
◆ IdType
define the type used for persistent local ids
◆ IdentityGridLocalIdSet()
constructor stores reference to a grid
◆ id() [1/3]
Get id of an entity. This method is simpler to use than the one below.
◆ id() [2/3]
IdType Dune::IdSet< GridImp, IdentityGridLocalIdSet< GridImp > , std::remove_const< GridImp >::type::HostGridType::Traits::LocalIdSet::IdType >::id |
( |
const typename Codim< cc >::Entity & |
e | ) |
const |
|
inlineinherited |
Get id of an entity of codim cc. Unhandy because template parameter must be supplied explicitly.
◆ id() [3/3]
template<class GridImp >
template<int cd>
◆ subId() [1/2]
IdType Dune::IdSet< GridImp, IdentityGridLocalIdSet< GridImp > , std::remove_const< GridImp >::type::HostGridType::Traits::LocalIdSet::IdType >::subId |
( |
const typename Codim< 0 >::Entity & |
e, |
|
|
int |
i, |
|
|
unsigned int |
codim |
|
) |
| const |
|
inlineinherited |
Get id of subentity i of co-dimension codim of a co-dimension 0 entity.
◆ subId() [2/2]
◆ update()
◆ dimension
dimension of the grid (maximum allowed codimension)
◆ grid_
The documentation for this class was generated from the following file: