BOUT-dev
BOUT-dev copied to clipboard
Replace Mesh::iterateBndry* functions with Regions
The following Mesh
methods should all be deprecated and replaced with Region
s:
virtual const RangeIterator iterateBndryLowerY() const = 0;
/// Iterate over the upper Y boundary
virtual const RangeIterator iterateBndryUpperY() const = 0;
virtual const RangeIterator iterateBndryLowerOuterY() const = 0;
virtual const RangeIterator iterateBndryLowerInnerY() const = 0;
virtual const RangeIterator iterateBndryUpperOuterY() const = 0;
virtual const RangeIterator iterateBndryUpperInnerY() const = 0;
Some of this can be done with PR #972 but the rest need offsets. Also the handling of Y boundary regions needs thinking about.
I think this should be achievable with the current implementation of Region in next.
See #951 why this is tricky