Go to the documentation of this file.
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"
149 const bool caseTag =
false
181 const word& constantName =
"constant"
189 const word& constantName =
"constant"
static instantList findTimes(const fileName &directory, const word &constantName="constant")
Search a given directory for valid time directories.
const fileName & rootPath() const
Return root path.
static label findClosestTimeIndex(const instantList &timeDirs, const scalar t, const word &constantName="constant")
Search instantList for the time index closest to the specified time.
const fileName & globalCaseName() const
Return global case name.
fileName path() const
Return path for the case.
A class for handling words, derived from Foam::string.
fileName systemPath() const
Return system path.
A class for handling file names.
TimePaths(const argList &args, const word &systemName="system", const word &constantName="constant")
Construct using characteristics given by the argList.
fileName caseSystem() const
const fileName & caseName() const
Return case name.
Extract command arguments and options from the supplied argc and argv parameters.
fileName constantPath() const
Return constant path.
fileName relativePath(const fileName &input, const bool caseTag=false) const
instantList times() const
Search the case for valid time directories.
instant findClosestTime(const scalar t) const
Search the case for the time closest to the given time.
Address the time paths without using the Time class.
const word & system() const
Return system name.
fileName caseConstant() const
static Istream & input(Istream &is, IntRange< T > &range)
fileName globalPath() const
Return global path for the case.
An instant of time. Contains the time value and name.
bool processorCase() const
Return true if this is a processor case.
const word & constant() const
Return constant name.
Foam::argList args(argc, argv)