dune-grid  2.3beta2
Classes
GridView
The Grid Interface
Collaboration diagram for GridView:

Classes

class  Dune::GridView< ViewTraits >
 Grid view abstract base classInterface class for a view on grids. Grids return two types of view, a view of the leaf grid and of a level grid, which both satisfy the same interface. Through the view the user has access to the iterators, the intersections and the index set. More...

Detailed Description

Though a DUNE grid is hierarchic, one often only needs access to a certain subset of the entities in the grid, e.g., the all entities on a given level or the leaf entities in the hierarchy. These views are provided by an implementation of GridView. Each grid exports a LevelGridView and a LeafGridView, corresponding to the two different subsets (views) described above.

A grid view provides the following functionality:

The default GridViews can be obtained from the grid by calling one of the levelGridView() or leafGridView() methods.