BUG: fieldMinMax: max cell

This commit is contained in:
mattijs
2017-11-27 17:41:38 +00:00
parent 966a941a64
commit b53e5b7404

View File

@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
\\/ M anipulation | Copyright (C) 2015 OpenCFD Ltd. \\/ M anipulation | Copyright (C) 2015-2017 OpenCFD Ltd.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
This file is part of OpenFOAM. This file is part of OpenFOAM.
@ -201,7 +201,7 @@ void Foam::functionObjects::fieldMinMax::calcMinMaxFields
label maxi = findMax(maxVs); label maxi = findMax(maxVs);
scalar maxValue = maxVs[maxi]; scalar maxValue = maxVs[maxi];
const label maxCell = minCells[maxi]; const label maxCell = maxCells[maxi];
const vector& maxC = maxCs[maxi]; const vector& maxC = maxCs[maxi];
output output