dune-grid  2.7.0
Public Types | Public Member Functions | List of all members
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 Thisoperator= (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 std::remove_const< GridImp >::type::Traits::template 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...
 
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 std::remove_const< Grid >::type::Traits::template 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 std::remove_const< Grid >::type::Traits::template 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...
 

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/4]

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.

◆ id() [2/4]

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

◆ id() [3/4]

IdType Dune::IdSet< Grid , IdSet< Grid, HostIdSet > , HostIdSet::IdType >::id ( const typename std::remove_const< Grid >::type::Traits::template Codim< cc >::Entity e) const
inlineinherited

Get id of an entity of codim cc. Unhandy because template parameter must be supplied explicitly.

◆ id() [4/4]

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

◆ 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]

IdType Dune::IdSet< Grid , IdSet< Grid, HostIdSet > , HostIdSet::IdType >::subId ( const typename std::remove_const< Grid >::type::Traits::template 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/3]

template<class Grid , class HostIdSet >
IdType Dune::IdSet< GridImp, IdSetImp, IdTypeImp >::subId
inline

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

◆ subId() [3/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

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