foamListTimes: Added -withFunctionEntries option to execute functionEntries
This commit is contained in:
@ -70,9 +70,16 @@ int main(int argc, char *argv[])
|
|||||||
"withFunctionObjects",
|
"withFunctionObjects",
|
||||||
"execute functionObjects"
|
"execute functionObjects"
|
||||||
);
|
);
|
||||||
|
argList::addBoolOption
|
||||||
|
(
|
||||||
|
"withFunctionEntries",
|
||||||
|
"execute functionEntries"
|
||||||
|
);
|
||||||
|
|
||||||
#include "setRootCase.H"
|
#include "setRootCase.H"
|
||||||
|
|
||||||
|
entry::disableFunctionEntries = !args.optionFound("withFunctionEntries");
|
||||||
|
|
||||||
label nProcs = 0;
|
label nProcs = 0;
|
||||||
|
|
||||||
// Create the processor databases
|
// Create the processor databases
|
||||||
|
|||||||
@ -1512,7 +1512,7 @@ _foamListTimes_ ()
|
|||||||
local line=${COMP_LINE}
|
local line=${COMP_LINE}
|
||||||
local used=$(echo "$line" | grep -oE "\-[a-zA-Z]+ ")
|
local used=$(echo "$line" | grep -oE "\-[a-zA-Z]+ ")
|
||||||
|
|
||||||
opts="-case -constant -doc -fileHandler -help -latestTime -newTimes -noFunctionObjects -noZero -processor -rm -srcDoc -time -withZero"
|
opts="-case -constant -doc -fileHandler -help -latestTime -newTimes -noFunctionObjects -noZero -processor -rm -srcDoc -time -withZero -withFunctionEntries -withFunctionObjects"
|
||||||
for o in $used ; do opts="${opts/$o/}" ; done
|
for o in $used ; do opts="${opts/$o/}" ; done
|
||||||
extra=""
|
extra=""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user