ENH: redistributePar: allow time override
This commit is contained in:
parent
14edbacd70
commit
04cc2bf911
1 changed files with 6 additions and 0 deletions
|
|
@ -434,6 +434,9 @@ int main(int argc, char *argv[])
|
|||
"specify the merge distance relative to the bounding box size "
|
||||
"(default 1e-6)"
|
||||
);
|
||||
// Include explicit constant options, have zero from time range
|
||||
timeSelector::addOptions();
|
||||
|
||||
# include "setRootCase.H"
|
||||
|
||||
if (env("FOAM_SIGFPE"))
|
||||
|
|
@ -457,6 +460,9 @@ int main(int argc, char *argv[])
|
|||
// Make sure we do not use the master-only reading.
|
||||
regIOobject::fileModificationChecking = regIOobject::timeStamp;
|
||||
# include "createTime.H"
|
||||
// Allow override of time
|
||||
instantList times = timeSelector::selectIfPresent(runTime, args);
|
||||
runTime.setTime(times[0], 0);
|
||||
|
||||
runTime.functionObjects().off();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue