#1064 Add MacroGridView to the Grid
Metadata
Property | Value |
---|---|
Reported by | Martin Nolte (nolte@mathematik.uni-freiburg.de) |
Reported at | Apr 11, 2012 12:10 |
Type | Feature Request |
Version | 2.0 |
Operating System | Unspecified / All |
Description
The level 0 grid (sometimes called macro grid) is a very special level grid. Special properties include the following:
- It will never change during adaptation (only during load balancing).
- It exists in every hierarchical grid.
The level 0 grid is sometimes also used during a hierarchical grid traversal (e.g., during data restriction or prolongation). Here, we first walk over the macro grid an then use a hierarchic iterator to walk down the hierarchy.
AlbertaGrid could even provide faster macro grid iterators / intersections than for any other level of the grid, because this is the only level for which all entity information and connectivity is actually stored.
Therefore, I request to add a special grid view, the MacroGridView to every Dune grid. This change is minimally invasive, since this grid view can always be implemented by the LevelGridView for level 0. However, it would allow for special implementation.
As an interesting side effect, we could specify that the index set of the MacroGridView may only change during load balancing.
What are the opinions of the other developers?