dune-grid  2.2.1
Public Types | Public Member Functions | Friends | List of all members
Dune::AlbertaGridIdSet< dim, dimworld > Class Template Reference

hierarchic index set of AlbertaGrid More...

#include <dune/grid/albertagrid/indexsets.hh>

Inheritance diagram for Dune::AlbertaGridIdSet< dim, dimworld >:
Dune::IdSet< AlbertaGrid< dim, dimworld >, AlbertaGridIdSet< dim, dimworld >, unsigned int >

Public Types

typedef Base::IdType IdType
 export type of id

Public Member Functions

template<class Entity >
IdType id (const Entity &e) const
 Get id of an entity. This method is simpler to use than the one below.
template<int codim>
IdType id (const typename Grid::template Codim< codim >::Entity &e) const
 Get id of an entity of codim cc. Unhandy because template parameter must be supplied explicitely.
IdType subId (const typename Grid::template Codim< 0 >::Entity &e, int i, unsigned int subcodim) const
 Get id of subentity i of codim cc of a codim 0 entity.
template<int codim>
IdType subId (const typename Grid::template Codim< codim >::Entity &e, int i, unsigned int subcodim) const
template<class Entity >
IdType subId (const Entity &e, int i, unsigned int subcodim) 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< AlbertaGrid< dim, dimworld > >::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< AlbertaGrid< dim, dimworld > >::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.

Friends

class AlbertaGrid< dim, dimworld >

Detailed Description

template<int dim, int dimworld>
class Dune::AlbertaGridIdSet< dim, dimworld >

hierarchic index set of AlbertaGrid

Member Typedef Documentation

template<int dim, int dimworld>
typedef Base::IdType Dune::AlbertaGridIdSet< dim, dimworld >::IdType

export type of id

Member Function Documentation

IdType Dune::IdSet< AlbertaGrid< dim, dimworld > , AlbertaGridIdSet< dim, dimworld > , unsigned int >::id ( const EntityType &  e) const
inlineinherited

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

IdType Dune::IdSet< AlbertaGrid< dim, dimworld > , AlbertaGridIdSet< dim, dimworld > , unsigned int >::id ( const typename remove_const< AlbertaGrid< dim, dimworld > >::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<int dim, int dimworld>
template<class Entity >
IdType Dune::AlbertaGridIdSet< dim, dimworld >::id ( const Entity e) const
inline

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

References Dune::Entity< cd, dim, GridImp, EntityImp >::codimension.

template<int dim, int dimworld>
template<int codim>
IdType Dune::AlbertaGridIdSet< dim, dimworld >::id ( const typename Grid::template Codim< codim >::Entity e) const
inline

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

References Dune::AlbertaGridHierarchicIndexSet< dim, dimworld >::index().

IdType Dune::IdSet< AlbertaGrid< dim, dimworld > , AlbertaGridIdSet< dim, dimworld > , unsigned int >::subId ( const typename remove_const< AlbertaGrid< dim, dimworld > >::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.

template<int dim, int dimworld>
IdType Dune::AlbertaGridIdSet< dim, dimworld >::subId ( const typename Grid::template Codim< 0 >::Entity e,
int  i,
unsigned int  subcodim 
) const
inline

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

References Dune::AlbertaGridHierarchicIndexSet< dim, dimworld >::subIndex().

template<int dim, int dimworld>
template<int codim>
IdType Dune::AlbertaGridIdSet< dim, dimworld >::subId ( const typename Grid::template Codim< codim >::Entity e,
int  i,
unsigned int  subcodim 
) const
inline
template<int dim, int dimworld>
template<class Entity >
IdType Dune::AlbertaGridIdSet< dim, dimworld >::subId ( const Entity e,
int  i,
unsigned int  subcodim 
) const
inline

Friends And Related Function Documentation

template<int dim, int dimworld>
friend class AlbertaGrid< dim, dimworld >
friend

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