42 .lookup<int>(
"numberOfSubdomains")
45 forAll(procRunTimes_, proci)
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]);
108 for (
label proci = 1; proci < nProcs(); proci ++)
110 procRunTimes_[proci].setTime(procRunTimes_[0]);
#define forAll(list, i)
Loop across all elements in list.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
static word controlDictName
The default control dictionary name (normally "controlDict")
const fileName & caseName() const
Explicitly inherit caseName from TimePaths to disambiguate from.
const fileName & rootPath() const
Explicitly inherit rootPath from TimePaths to disambiguate from.
Extract command arguments and options from the supplied argc and argv parameters.
Abstract base class for decomposition.
A class for handling file names.
An instant of time. Contains the time value and name.
instantList selectComplete(const argList &args)
Select the time.
~processorRunTimes()
Destructor.
instantList selectProc(const argList &args)
Select the time.
void setTime(const instant &inst, const label newIndex)
Set the time.
processorRunTimes(const word &name, const argList &args)
Construct from directory and arguments.
static instantList select0(Time &runTime, const argList &args)
Return the set of times selected based on the argList options.
static instantList selectIfPresent(Time &runTime, const argList &args)
If any time option provided return the set of times (as select0)
A class for handling words, derived from string.
static instantList timeDirs
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const bool)
Return a word representation of a bool.
Foam::argList args(argc, argv)