Skip to content
Snippets Groups Projects
Commit b53e5b74 authored by mattijs's avatar mattijs
Browse files

BUG: fieldMinMax: max cell

parent 966a941a
Branches
Tags
No related merge requests found
......@@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
\\/ M anipulation | Copyright (C) 2015 OpenCFD Ltd.
\\/ M anipulation | Copyright (C) 2015-2017 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
......@@ -201,7 +201,7 @@ void Foam::functionObjects::fieldMinMax::calcMinMaxFields
label maxi = findMax(maxVs);
scalar maxValue = maxVs[maxi];
const label maxCell = minCells[maxi];
const label maxCell = maxCells[maxi];
const vector& maxC = maxCs[maxi];
output
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment