Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
be789cf9
Commit
be789cf9
authored
Jan 13, 2009
by
Andrew Heather
Browse files
consistency update
parent
654f8443
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/postProcessing/functionObjects/field/fieldMinMax/fieldMinMax.C
View file @
be789cf9
...
...
@@ -176,9 +176,10 @@ void Foam::fieldMinMax::calcMinMaxFields<Foam::scalar>
{
if
(
obr_
.
foundObject
<
volScalarField
>
(
fieldName
))
{
const
scalarField
&
field
=
obr_
.
lookupObject
<
scalarField
>
(
fieldName
);
scalar
minValue
=
min
(
field
);
scalar
maxValue
=
max
(
field
);
const
volScalarField
&
field
=
obr_
.
lookupObject
<
volScalarField
>
(
fieldName
);
scalar
minValue
=
min
(
field
).
value
();
scalar
maxValue
=
max
(
field
).
value
();
reduce
(
minValue
,
minOp
<
scalar
>
());
reduce
(
maxValue
,
maxOp
<
scalar
>
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment