74 bool detectProcessorCase();
85 const word& systemName =
"system",
86 const word& constantName =
"constant"
94 const word& systemName =
"system",
95 const word& constantName =
"constant"
107 const word& systemName =
"system",
108 const word& constantName =
"constant"
122 inline bool processorCase(
const bool isProcessorCase)
noexcept;
152 const bool caseTag =
false
184 const word& constantName =
"constant"
192 const word& constantName =
"constant"
Address the time paths without using the Time class.
const fileName & caseName() const
Return case name.
instantList times() const
Search the case for valid time directories.
const word & system() const
Return system name.
const fileName & globalCaseName() const
Return global case name.
bool distributed() const noexcept
static instantList findTimes(const fileName &directory, const word &constantName="constant")
Search a given directory for valid time directories.
fileName relativePath(const fileName &input, const bool caseTag=false) const
static label findClosestTimeIndex(const instantList &timeDirs, const scalar t, const word &constantName="constant")
Search instantList for the time index closest to the specified time.
fileName caseConstant() const
fileName path() const
Return path for the case.
fileName caseSystem() const
const fileName & rootPath() const
Return root path.
const word & constant() const
Return constant name.
bool processorCase() const noexcept
Return true if this is a processor case.
fileName constantPath() const
Return constant path.
instant findClosestTime(const scalar t) const
Search the case for the time closest to the given time.
fileName systemPath() const
Return system path.
fileName globalPath() const
Return global path for the case.
Extract command arguments and options from the supplied argc and argv parameters.
A class for handling file names.
An instant of time. Contains the time value and name. Uses Foam::Time when formatting the name.
A class for handling words, derived from Foam::string.
static Istream & input(Istream &is, IntRange< T > &range)
Foam::argList args(argc, argv)