dune-grid 2.10
Loading...
Searching...
No Matches
Dune::GeoGrid::IdSet< Grid, HostIdSet > Class Template Reference

#include <dune/grid/geometrygrid/idset.hh>

Inheritance diagram for Dune::GeoGrid::IdSet< Grid, HostIdSet >:
Inheritance graph

Public Types

typedef HostIdSet::IdType IdType

Public Member Functions

 IdSet ()
 IdSet (const HostIdSet &hostIdSet)
 IdSet (const This &other)
const This & operator= (const This &other)
template<int codim>
IdType id (const typename Traits::template Codim< codim >::Entity &entity) const
template<class Entity>
IdType id (const Entity &entity) const
IdType subId (const typename Traits::template Codim< 0 >::Entity &entity, int i, unsigned int codim) const
 operator bool () const
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.
IdType id (const Entity &e) const
 Get id of an entity. This method is simpler to use than the one below.
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)

Member Typedef Documentation

◆ IdType

template<class Grid, class HostIdSet>
typedef HostIdSet::IdType Dune::GeoGrid::IdSet< Grid, HostIdSet >::IdType

Constructor & Destructor Documentation

◆ IdSet() [1/3]

template<class Grid, class HostIdSet>
Dune::GeoGrid::IdSet< Grid, HostIdSet >::IdSet ( )
inline

◆ IdSet() [2/3]

template<class Grid, class HostIdSet>
Dune::GeoGrid::IdSet< Grid, HostIdSet >::IdSet ( const HostIdSet< Grid, HostIdSet > & hostIdSet)
inlineexplicit

◆ IdSet() [3/3]

template<class Grid, class HostIdSet>
Dune::GeoGrid::IdSet< Grid, HostIdSet >::IdSet ( const This & other)
inline

Member Function Documentation

◆ id() [1/3]

template<class Grid, class HostIdSet>
template<class Entity>
IdType Dune::GeoGrid::IdSet< Grid, HostIdSet >::id ( const Entity & entity) const
inline

◆ id() [2/3]

template<class Grid, class HostIdSet>
template<int codim>
IdType Dune::GeoGrid::IdSet< Grid, HostIdSet >::id ( const typename Traits::template Codim< codim >::Entity & entity) const
inline

◆ id() [3/3]

IdType Dune::IdSet< Grid, IdSet< Grid, HostIdSet >, HostIdSet::IdType >::id ( const Entity & e) const
inlineinherited

Get id of an entity. This method is simpler to use than the one below.

◆ operator bool()

template<class Grid, class HostIdSet>
Dune::GeoGrid::IdSet< Grid, HostIdSet >::operator bool ( ) const
inlineexplicit

◆ operator=()

template<class Grid, class HostIdSet>
const This & Dune::GeoGrid::IdSet< Grid, HostIdSet >::operator= ( const This & other)
inline

◆ subId() [1/3]

template<class Grid, class HostIdSet>
IdType Dune::IdSet< Grid, This, typename HostIdSet::IdType >::subId ( const typename Codim< 0 >::Entity & e,
int i,
unsigned int codim ) const
inline

Get id of subentity i of co-dimension codim of a co-dimension 0 entity.

◆ subId() [2/3]

template<class Grid, class HostIdSet>
IdType Dune::GeoGrid::IdSet< Grid, HostIdSet >::subId ( const typename Traits::template Codim< 0 >::Entity & entity,
int i,
unsigned int codim ) const
inline

◆ subId() [3/3]

IdType Dune::IdSet< Grid, IdSet< Grid, HostIdSet >, HostIdSet::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.

Member Data Documentation

◆ dimension

auto Dune::IdSet< Grid, IdSet< Grid, HostIdSet >, HostIdSet::IdType >::dimension
staticconstexprinherited

dimension of the grid (maximum allowed codimension)


The documentation for this class was generated from the following file: