Skip to content
Snippets Groups Projects
Commit 96d51e79 authored by Marian Piatkowski's avatar Marian Piatkowski
Browse files

Merge branch 'feature/add-reverse-grid-iterators' into 'master'

Add reverse grid iterators for YaspGrid

This merge request extends the grid interface to support reverse iteration. For this purpose, it adds
* a new type `ReverseIterator` to the `Codim` structs
* a set of `rbegin()` and `rend()` methods (and their equivalents for leaf and level iterators)
* new marker types `Dune::Direction::Forward` and `Dune::Direction::Backward`
* overloads for the entity range generators (`elements(gv)`) etc. that take a direction marker

Right now, only YaspGrid provides support for reverse iteration. Grids without support will simply ignore the request and iterate in forward direction anyway.

See merge request !1
parents 9419afb0 eeb721d7
Branches
Tags
1 merge request!1Add reverse grid iterators for YaspGrid
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment