mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: use min/max instead of first/last for int/slice ranges
- consistent with MinMax tuple etc. - cull unused before(), after() methods
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
\\ / A nd | www.openfoam.com
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
Copyright (C) 2019-2020 OpenCFD Ltd.
|
||||
Copyright (C) 2019-2023 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
This file is part of OpenFOAM.
|
||||
@ -47,10 +47,10 @@ void printInfo(const sliceCoeffs& coeffs)
|
||||
|
||||
Info<< nl
|
||||
<< "coeffs: " << coeffs << nl
|
||||
<< "range: " << range << nl
|
||||
<< "first: " << range.first() << nl
|
||||
<< "range: " << range << nl
|
||||
<< "min: " << range.min() << nl
|
||||
<< "*begin " << *range.begin() << nl
|
||||
<< "last: " << range.last() << nl
|
||||
<< "max: " << range.max() << nl
|
||||
<< "*end " << *range.end() << nl
|
||||
<< "values: " << flatOutput(range.labels()) << nl;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user