Dune::GridPartDefault< GridPartTraits > Class Template Reference
[Grid Parts]

#include <gridpart.hh>

Inheritance diagram for Dune::GridPartDefault< GridPartTraits >:

Dune::GridPartInterface< GridPartTraits > Dune::HierarchicGridPart< GridImp, pitype > Dune::LeafGridPart< GridImp, pitype > Dune::LevelGridPart< GridImp, pitype > List of all members.

Detailed Description

template<class GridPartTraits>
class Dune::GridPartDefault< GridPartTraits >

Default implementation for the GridPart classes.


Public Types

typedef GridPartTraits::GridType GridType
 Grid implementation.
typedef GridPartTraits::IndexSetType IndexSetType
 Index set implementation.
enum  
 is true if grid on this view only has conforming intersections
typedef GridPartTraits::GridPartType GridPartType
 Type of the implementation.
typedef GridPartTraits::IntersectionIteratorType IntersectionIteratorType
 type of IntersectionIterator
typedef GridType::template
Codim< 0 >::Entity 
EntityCodim0Type
 type of Entity with codim=0

Public Member Functions

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.
template<int cd>
GridPartTraits::template Codim<
cd >::IteratorType 
begin () const
 Returns first iterator of the subset of the entities of codimension cd specified by this class.
template<int cd>
GridPartTraits::template Codim<
cd >::IteratorType 
end () const
 Returns end iterator of the subset of the entities of codimension cd specified by this class.
int level () const
 Level of the grid part.
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
template<class DataHandleImp, class DataType>
void communicate (CommDataHandleIF< DataHandleImp, DataType > &data, InterfaceType iftype, CommunicationDirection dir) const
 corresponding communication method for grid part

Protected Member Functions

 GridPartDefault (GridType &grid, const IndexSetType &iset)
 Constructor.

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

Generated on 12 Dec 2007 with Doxygen (ver 1.5.1)