Dune::LevelGridPart< GridImp, pitype > Class Template Reference
[Grid Parts]

#include <gridpart.hh>

Inheritance diagram for Dune::LevelGridPart< GridImp, pitype >:

Dune::GridPartDefault< LevelGridPartTraits< GridImp, pitype > > Dune::GridPartInterface< LevelGridPartTraits< GridImp, pitype > > List of all members.

Detailed Description

template<class GridImp, PartitionIteratorType pitype = Interior_Partition>
class Dune::LevelGridPart< GridImp, pitype >

Selects a specific level of a grid.


Public Types

enum  
 is true if grid on this view only has conforming intersections
typedef LevelGridPartTraits<
GridImp, pitype > 
Traits
 Corresponding type definitions.
typedef Traits::GridType GridType
 Grid implementation.
typedef Traits::IndexSetType IndexSetType
 Level index set that corresponds to the grid.
typedef Traits::IntersectionIteratorType IntersectionIteratorType
 The corresponding IntersectionIterator.
typedef IntersectionIteratorType IntersectionType
enum  
 is true if grid on this view only has conforming intersections
typedef LevelGridPartTraits<
GridImp, pitype >::GridPartType 
GridPartType
 Type of the implementation.

Public Member Functions

 LevelGridPart (GridType &grid, int level)
 Constructor.
 LevelGridPart (const GridType &grid)
 Constructor, choosing maxLevel.
template<int cd>
Traits::template Codim< cd
>::IteratorType 
begin () const
 Returns first iterator on this level.
template<int cd>
Traits::template Codim< cd
>::IteratorType 
end () const
 Returns end iterator on this level.
IntersectionIteratorType ibegin (const EntityCodim0Type &en) const
 ibegin of corresponding intersection iterator for given entity
IntersectionIteratorType iend (const EntityCodim0Type &en) const
 iend of corresponding intersection iterator for given entity
int level () const
 Level which this GridPart belongs to.
template<class DataHandleImp, class DataType>
void communicate (CommDataHandleIF< DataHandleImp, DataType > &data, InterfaceType iftype, CommunicationDirection dir) const
 corresponding communication method for this grid part
const GridTypegrid () const
 Returns const reference to the underlying grid.
GridTypegrid ()
 Returns reference to the underlying grid.
const IndexSetTypeindexSet () const
 Returns reference to index set of the underlying grid.

Classes

struct  Codim
 Struct defining the iterator types for codimension cd. More...

Member Typedef Documentation

template<class GridImp, PartitionIteratorType pitype = Interior_Partition>
typedef IntersectionIteratorType Dune::LevelGridPart< GridImp, pitype >::IntersectionType

forward compatibility

Reimplemented from Dune::GridPartInterface< LevelGridPartTraits< GridImp, pitype > >.


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

Generated on 9 Apr 2008 with Doxygen (ver 1.5.2) [logfile].