34 const word& systemDirName,
35 const word& constantDirName
61 return processorCase_;
67 bool old(processorCase_);
81 return globalCaseName_;
Layout
The layout of the case structure.
@ global
Global case layout (serial locations).
const word & system() const noexcept
Return system name.
bool distributed() const noexcept
True if case running with parallel distributed directories (ie. not NFS mounted).
const fileName & rootPath() const noexcept
Return root path.
const word & constant() const noexcept
Return constant name.
fileName relativePath(const fileName &input, const bool caseTag=false) const
Return the input relative to the globalPath by stripping off a leading value of the globalPath.
fileName caseConstant() const
Return the constant name for the case, which is ../constant() for parallel runs.
const fileName & globalCaseName() const noexcept
Return global case name.
fileName path() const
Return path for the case = rootPath/caseName.
fileName caseSystem() const
Return the system name for the case, which is ../system() for parallel runs.
bool processorCase() const noexcept
True if this is a processor case.
fileName constantPath() const
Return constant path.
fileName systemPath() const
Return system path.
TimePaths(const bool processorCase, const fileName &rootPath, const bool distributed, const fileName &globalCaseName, const fileName &caseName, const word &systemDirName="system", const word &constantDirName="constant")
Construct from all components.
const fileName & caseName() const noexcept
Return case name.
fileName globalPath() const
Return global path for the case = rootPath/globalCaseName.
A class for handling file names.
fileName relative(const fileName &parent, const bool caseTag=false) const
Return a relative name by stripping off the parent directory where possible.
A class for handling words, derived from Foam::string.
fileName path(UMean.rootPath()/UMean.caseName()/"graphs"/UMean.instance())
Different types of constants.
int system(const std::string &command, const bool bg=false)
Execute the specified command via the shell.