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

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 id (const EntityType &e) const
 Get id of an entity. This method is simpler to use than the one below.
IdType id (const typename 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 explicitely.
IdType subId (const typename remove_const< Grid >::type::Traits::template Codim< 0 >::Entity &e, int i, unsigned int codim) const
 Get id of subentity i of codim cc of a codim 0 entity.

Member Typedef Documentation

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

Constructor & Destructor Documentation

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

Member Function Documentation

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
template<class Grid , class HostIdSet >
template<class Entity >
IdType Dune::GeoGrid::IdSet< Grid, HostIdSet >::id ( const Entity entity) const
inline
IdType Dune::IdSet< Grid , IdSet< Grid, HostIdSet > , HostIdSet::IdType >::id ( const EntityType &  e) const
inlineinherited

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

IdType Dune::IdSet< Grid , IdSet< Grid, HostIdSet > , HostIdSet::IdType >::id ( const typename 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 explicitely.

template<class Grid , class HostIdSet >
Dune::GeoGrid::IdSet< Grid, HostIdSet >::operator bool ( ) const
inline
template<class Grid , class HostIdSet >
const This& Dune::GeoGrid::IdSet< Grid, HostIdSet >::operator= ( const This other)
inline
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
IdType Dune::IdSet< Grid , IdSet< Grid, HostIdSet > , HostIdSet::IdType >::subId ( const typename remove_const< Grid >::type::Traits::template Codim< 0 >::Entity e,
int  i,
unsigned int  codim 
) const
inlineinherited

Get id of subentity i of codim cc of a codim 0 entity.


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