mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: ignore -noFunctionObjects option when disabled
- With argList::noFunctionObjects() we use the logic added in
4b93333292 (issue #352)
By removing the '-noFunctionObjects' option, we automatically
suppress the creation of function-objects via Time (with argList
as a parameter).
There is generally no need in these cases for an additional
runTime.functionObjects().off() statement
Use the argList::noFunctionObjects() for more direct configuration
and reduce unnecessary clutter in the -help information.
In previous versions, the -noFunctionObjects would have been redundant
anyhow, so we can also just ignore it now instead.
This commit is contained in:
@ -207,10 +207,12 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
argList::addNote
|
||||
(
|
||||
"Extract and write surface features to file"
|
||||
"Extract and write surface feature lines to file.\n"
|
||||
"Feature line extraction only valid on closed manifold surfaces."
|
||||
);
|
||||
|
||||
argList::noParallel();
|
||||
argList::noFunctionObjects();
|
||||
argList::noFunctionObjects(); // Never use function objects
|
||||
|
||||
argList::addOption
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user