38 completeRunTime_(name, args),
41 decompositionMethod::decomposeParDict(completeRunTime_)
42 .lookup<int>(
"numberOfSubdomains")
45 forAll(procRunTimes_, proci)
52 Time::controlDictName,
53 completeRunTime_.rootPath(),
54 completeRunTime_.caseName()
59 procRunTimes_[proci].setTime(completeRunTime_);
78 completeRunTime_.
setTime(inst, newIndex);
80 forAll(procRunTimes_, proci)
82 procRunTimes_[proci].setTime(inst, newIndex);
92 forAll(procRunTimes_, proci)
94 procRunTimes_[proci].setTime(completeRunTime_);
106 completeRunTime_.
setTime(procRunTimes_[0]);
110 procRunTimes_[proci].setTime(procRunTimes_[0]);
processorRunTimes(const word &name, const argList &args)
Construct from directory and arguments.
#define forAll(list, i)
Loop across all elements in list.
A class for handling file names.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
instantList selectComplete(const argList &args)
Select the time.
static instantList timeDirs
A class for handling words, derived from string.
Extract command arguments and options from the supplied argc and argv parameters. ...
static instantList selectIfPresent(Time &runTime, const argList &args)
If any time option provided return the set of times (as select0)
virtual void setTime(const Time &)
Reset the time and time-index to those of the given time.
static instantList select0(Time &runTime, const argList &args)
Return the set of times selected based on the argList options.
label nProcs() const
Return the number of processors.
word name(const complex &)
Return a string representation of a complex.
An instant of time. Contains the time value and name.
void setTime(const instant &inst, const label newIndex)
Set the time.
~processorRunTimes()
Destructor.
instantList selectProc(const argList &args)
Select the time.