Implement FlatVectorView and indexedForEach
Moved to dune-common: The previous discussion is found in dune-istl: dune-istl!418 (closed)
- The class
FlatVectorView
wraps a blocked container to provide a minimal flat container interface. - The routine
indexedForEach
iterates over a (blocked) container. The special case ofFlatVectorView
is implemented which loops over all scalar entries of the container and calls a given functor at each entry.