Grid Parts
[dune-grid]


Detailed Description

What is a GridPart ?

A Dune::GridPart define a view for a given grid, which can basically be seen as a container for entities of different co-dimensions. The most prominent example of such views are Leafgrids and Levelgrids - but also a set of entities satisfying a certain constraint, e.g., belonging to a certain domain, can be accessed using the GridParts interface.

The Dune::Grid instance is passed to the GridPart which then provides iterators over the entities in the view; also intersection iterators suitable for element in the view can be obtained from the GridPart. Finally the GridPart provides a Dune::IndexSet with indices for all entities in the view. For parallel computations the GridPart interface also provides the suitable communication method.

GridPart Interface and available Implementations

This interface is implemented by the class template Dune::GridPartInterface. For a full documentation see the description of this class. A short list of the most important methods is: For a level or leaf view of the grid use the implementations Dune::LevelGridPart and Dune::LeafGridPart, respectively. A first implementation of a view using a general filter is available in the dune-fem package (Dune::FilteredGridPart).


Classes

class  Dune::GridPartInterface< GridPartTraits >
 Interface for the GridPart classes A GridPart class allows to access only a specific subset of a grid's entities. A GridPart implementation provides the corresponding index set and a begin/end iterator pair for accessing those entities, the corresponding intersection iterators and a appropriate communication method. GridParts are used to parametrize spaces (see DiscreteFunctionSpaceDefault [in dune-fem]). More...
class  Dune::GridPartDefault< GridPartTraits >
 Default implementation for the GridPart classes. More...
class  Dune::LevelGridPart< GridImp, pitype >
 Selects a specific level of a grid. More...
struct  Dune::LevelGridPartTraits< GridImp, pitype >
 Type definitions for the LevelGridPart class. More...
class  Dune::LeafGridPart< GridImp, pitype >
 Selects the leaf level of a grid. More...
struct  Dune::LeafGridPartTraits< GridImp, pitype >
 Type definitions for the LeafGridPart class. More...
class  Dune::HierarchicGridPart< GridImp, pitype >
 Selects the leaf level of a grid together with the HierarchicIndexSet available for ALUGrid and AlbertaGrid. The HierarchicIndexSet is basically the LocalIdSet of the grid extended by a size method to implement the IndexSet interface. For all other grids the default LeafIndexSet is selected. More...
struct  Dune::HierarchicGridPartTraits< GridImp, pitype >
 Type definitions for the HierarchicGridPart class. More...

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