mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
potentialFoam: No longer executes functionObjects by default
Use the new -withFunctionObjects command-line option to execute functionObjects
This commit is contained in:
@ -486,7 +486,13 @@ Foam::Time::Time
|
||||
graphFormat_("raw"),
|
||||
runTimeModifiable_(false),
|
||||
|
||||
functionObjects_(*this, !args.optionFound("noFunctionObjects"))
|
||||
functionObjects_
|
||||
(
|
||||
*this,
|
||||
argList::validOptions.found("withFunctionObjects")
|
||||
? args.optionFound("withFunctionObjects")
|
||||
: !args.optionFound("noFunctionObjects")
|
||||
)
|
||||
{
|
||||
libs_.open(controlDict_, "libs");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user