Dune::AlbertaGridIdSet< dim, dimworld > Class Template Reference

#include <indexsets.hh>

Inheritance diagram for Dune::AlbertaGridIdSet< dim, dimworld >:

Dune::IdSetDefaultImplementation< GridImp, IdSetImp, IdTypeImp > Dune::IdSet< GridImp, IdSetImp, IdTypeImp >

List of all members.


Detailed Description

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

hierarchic index set of AlbertaGrid

Public Types

typedef Base::IdType IdType
 export type of id

Public Member Functions

template<class Entity>
IdType id (const Entity &e) const
template<int codim>
IdType id (const typename Grid::template Codim< codim >::Entity &e) const
template<int codim>
IdType subId (const typename Grid::template Codim< 0 >::Entity &e, int i) const
template<int cc>
IdType subId (const typename remove_const< GridImp >::type::Traits::template Codim< 0 >::Entity &e, int i) const
 get id of subentity i of codim cc
template<class EntityType>
IdType id (const EntityType &e) const
 Get id of an entity. This method is simpler to use than the one below.
template<int cc>
IdType id (const typename remove_const< GridImp >::type::Traits::template Codim< cc >::Entity &e) const
 Get id of an entity of codim cc. Unhandy because template parameter must be supplied explicitely.

Member Function Documentation

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.

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

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


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

Generated on Sun Nov 15 22:28:51 2009 for dune-grid by  doxygen 1.5.6