functionObject: Log by default to stdout when in postProcess mode, not otherwise

This change formalises the usage of the "log" keyword in function
objects. By default, logging to stdout is activated when running
"postProcess" or "<solver> -postProcess", and deactivated when a
function is being executed as part of a run.

This behaviour can now be overridden in the function object dictionary
when operating in either mode.
This commit is contained in:
Will Bainbridge
2019-11-27 15:45:53 +00:00
parent 9675107f7e
commit 7d229e7026
9 changed files with 5 additions and 16 deletions

View File

@ -39,7 +39,6 @@ Description
type fieldMinMax;
libs ("libfieldFunctionObjects.so");
...
write yes;
log yes;
location yes;
mode magnitude;
@ -55,7 +54,6 @@ Usage
\table
Property | Description | Required | Default value
type | type name: fieldMinMax | yes |
write | write min/max data to file | no | yes
log | write min/max data to standard output | no | no
location | write location of the min/max value | no | yes
mode | calculation mode: magnitude or component | no | magnitude