Add reverse grid iterators for UGGrid
This is the continuation of the work done in !1 (merged). But here it is done for UGGrid
because we also want a matrix-free SSOR preconditioner on this grid.
It adds
-
Change to self-standing typedefs for the
ReverseIterator
that do not simply pass to the forward iterators both on the level and leaf grid view. Also introduce therbegin
andrend
methods in the two grid views. -
Introduce reverse iterators both for level and leaf. Those two implementations exchange
-
First
byLast
-
succ
bypred
compared to the corresponding forward versions.
-
-
Add wrappers for the
pred
and all variants ofLast
methods to access what we wish indune-uggrid
.