Dune::IdentityGridLevelIndexSet< GridImp > Class Template Reference

#include <identitygridindexsets.hh>

Inherits IndexSetDefaultImplementation< GridImp, Dune::IdentityGridLevelIndexSet< GridImp >, Dune::IdentityGridLevelIndexSetTypes< GridImp > >.

List of all members.


Detailed Description

template<class GridImp>
class Dune::IdentityGridLevelIndexSet< GridImp >

Todo:
Take the index types from the host grid

Public Member Functions

template<int codim>
int index (const typename GridImp::Traits::template Codim< codim >::Entity &e) const
 get index of an entity
template<int codim>
int subIndex (const typename GridImp::Traits::template Codim< 0 >::Entity &e, int i) const
 get index of subEntity of a codim 0 entity
int size (int codim) const
 get number of entities of given codim, type and on this level
int size (GeometryType type) const
 get number of entities of given codim, type and on this level
const std::vector< GeometryType > & geomTypes (int codim) const
 Deliver all geometry types used in this grid.
template<int cd, PartitionIteratorType pitype>
Base::template Codim< cd >
::template Partition< pitype >
::Iterator 
begin () const
 one past the end on this level
template<int cd, PartitionIteratorType pitype>
Base::template Codim< cd >
::template Partition< pitype >
::Iterator 
end () const
 Iterator to one past the last entity of given codim on level for partition type.
void update (const GridImp &grid, int level)
 Set up the index set.

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

Generated on 29 Jul 2009 with Doxygen (ver 1.5.6)