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

#include <gridpart.hh>

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

Dune::GridPartDefault< GridPartTraits > Dune::GridPartInterface< GridPartTraits >

List of all members.


Detailed Description

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

Selects the leaf level of a grid.

Public Types

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

Public Member Functions

 LeafGridPart (GridType &grid)
 Constructor.
template<int cd>
Traits::template Codim< cd >
::IteratorType 
begin () const
 Begin iterator on the leaf level.
template<int cd>
Traits::template Codim< cd >
::IteratorType 
end () const
 End iterator on the leaf 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
 Returns maxlevel of the grid.
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 providing types of the leaf iterators on codimension cd. More...

Member Typedef Documentation

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

forward compatibility

Reimplemented from Dune::GridPartInterface< GridPartTraits >.


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

Generated on 6 Nov 2008 with Doxygen (ver 1.5.6) [logfile].