DUNE-FEM (unstable)

Dune::YaspGlobalIdSet< GridImp > Class Template Reference

persistent, globally unique Ids More...

#include <dune/grid/yaspgrid/yaspgrididset.hh>

Public Types

typedef std::remove_const< GridImp >::type::PersistentIndexType IdType
 define the type used for persistent indices
 

Public Member Functions

 YaspGlobalIdSet ()
 Only default-constructible.
 
template<int cd>
IdType id (const typename std::remove_const< GridImp >::type::Traits::template Codim< cd >::Entity &e) const
 get id of an entity
 
IdType subId (const typename std::remove_const< GridImp >::type::Traits::template Codim< 0 >::Entity &e, int i, unsigned int codim) const
 get id of subentity
 
IdType id (const Entity &e) const
 Get id of an entity. This method is simpler to use than the one below.
 
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.
 
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.
 

Static Public Attributes

static constexpr auto dimension
 dimension of the grid (maximum allowed codimension)
 

Detailed Description

template<class GridImp>
class Dune::YaspGlobalIdSet< GridImp >

persistent, globally unique Ids


The documentation for this class was generated from the following files:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 20, 23:30, 2024)