Skip to content
Snippets Groups Projects
Commit 2123632d authored by mattijs's avatar mattijs Committed by Andrew Heather
Browse files

ENH: redistributePar: allow time override

parent ea322e3a
Branches
Tags
No related merge requests found
......@@ -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();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment