Dune::LevelGridPart< GridImp, pitype > Class Template Reference
[Grid Parts]
#include <gridpart.hh>
Inheritance diagram for Dune::LevelGridPart< GridImp, pitype >:

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. | |
enum | |
is true if grid on this view only has conforming intersections | |
typedef GridPartTraits::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 GridType & | grid () const |
Returns const reference to the underlying grid. | |
GridType & | grid () |
Returns reference to the underlying grid. | |
const IndexSetType & | indexSet () const |
Returns reference to index set of the underlying grid. | |
Classes | |
struct | Codim |
Struct defining the iterator types for codimension cd. More... |
The documentation for this class was generated from the following file: