Dune::IdentityGridGlobalIdSet< GridImp > Class Template Reference

#include <dune/grid/identitygrid/identitygridindexsets.hh>

Inheritance diagram for Dune::IdentityGridGlobalIdSet< GridImp >:
Inheritance graph

List of all members.

Public Types

typedef
HostGrid::Traits::GlobalIdSet::IdType 
IdType
 define the type used for persistent indices

Public Member Functions

 IdentityGridGlobalIdSet (const GridImp &g)
 constructor stores reference to a grid
template<int cd>
IdType id (const typename remove_const< GridImp >::type::Traits::template Codim< cd >::Entity &e) const
 get id of an entity
IdType subId (const typename remove_const< GridImp >::type::Traits::template Codim< 0 >::Entity &e, int i, int codim) const
 get id of subEntity
void update ()

Public Attributes

const GridImp * grid_

template<class GridImp>
class Dune::IdentityGridGlobalIdSet< GridImp >


Member Typedef Documentation

template<class GridImp>
typedef HostGrid::Traits::GlobalIdSet::IdType Dune::IdentityGridGlobalIdSet< GridImp >::IdType

define the type used for persistent indices


Constructor & Destructor Documentation

template<class GridImp>
Dune::IdentityGridGlobalIdSet< GridImp >::IdentityGridGlobalIdSet ( const GridImp &  g  )  [inline]

constructor stores reference to a grid


Member Function Documentation

template<class GridImp>
template<int cd>
IdType Dune::IdentityGridGlobalIdSet< GridImp >::id ( const typename remove_const< GridImp >::type::Traits::template Codim< cd >::Entity &  e  )  const [inline]

get id of an entity

template<class GridImp>
IdType Dune::IdentityGridGlobalIdSet< GridImp >::subId ( const typename remove_const< GridImp >::type::Traits::template Codim< 0 >::Entity &  e,
int  i,
int  codim 
) const [inline]

get id of subEntity

template<class GridImp>
void Dune::IdentityGridGlobalIdSet< GridImp >::update (  )  [inline]
Todo:
Should be private

Member Data Documentation

template<class GridImp>
const GridImp* Dune::IdentityGridGlobalIdSet< GridImp >::grid_

The documentation for this class was generated from the following file:
Generated on Sat Apr 24 11:13:39 2010 for dune-grid-dev-howto by  doxygen 1.6.3