foamListTimes: disable controlDict function entries

avoids warning and error messages from the processing of the functions entry in
controlDict which unlikely to be needed for foamListTimes.
This commit is contained in:
Henry Weller
2020-04-16 18:10:43 +01:00
parent c4e9f79a97
commit 6557788618

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -49,6 +49,7 @@ using namespace Foam;
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
entry::disableFunctionEntries = true;
writeInfoHeader = false; writeInfoHeader = false;
argList::addNote("List times using timeSelector"); argList::addNote("List times using timeSelector");
@ -64,6 +65,12 @@ int main(int argc, char *argv[])
"rm", "rm",
"remove selected time directories" "remove selected time directories"
); );
argList::addBoolOption
(
"withFunctionObjects",
"execute functionObjects"
);
#include "setRootCase.H" #include "setRootCase.H"
label nProcs = 0; label nProcs = 0;