A class for addressing time paths without using the Time class. More...
#include <OpenFOAM/TimePaths.H>
A class for addressing time paths without using the Time class.
Definition at line 50 of file TimePaths.H.
Public Member Functions | |
TimePaths (const fileName &rootPath, const fileName &caseName, const word &systemName, const word &constantName) | |
Construct given database name, rootPath and casePath. | |
bool | processorCase () const |
Return true if this is a processor case. | |
const fileName & | rootPath () const |
Return root path. | |
const fileName & | caseName () const |
Return case name. | |
const word & | system () const |
Return system name. | |
fileName | caseSystem () const |
Return system name for the case. | |
const word & | constant () const |
Return constant name. | |
fileName | caseConstant () const |
Return constant name for the case. | |
fileName | path () const |
Return path. | |
fileName | systemPath () const |
Return system path. | |
fileName | constantPath () const |
Return constant path. |
TimePaths | ( | const fileName & | rootPath, |
const fileName & | caseName, | ||
const word & | systemName, | ||
const word & | constantName | ||
) |
Construct given database name, rootPath and casePath.
Definition at line 31 of file TimePaths.C.
|
inline |
Return true if this is a processor case.
Definition at line 78 of file TimePaths.H.
|
inline |
Return root path.
Reimplemented in Time.
Definition at line 84 of file TimePaths.H.
Referenced by TimePaths::path().
|
inline |
Return case name.
Reimplemented in Time.
Definition at line 90 of file TimePaths.H.
Referenced by TimePaths::path().
|
inline |
Return system name.
Definition at line 96 of file TimePaths.H.
Referenced by TimePaths::caseSystem(), TimePaths::systemPath(), and meshRefinement::write().
Foam::fileName caseSystem | ( | ) | const |
Return system name for the case.
which for parallel runs returns ../system()
Definition at line 48 of file TimePaths.C.
References TimePaths::system().
Referenced by meshRefinement::write().
|
inline |
Return constant name.
Definition at line 106 of file TimePaths.H.
Referenced by TimePaths::constantPath(), displacementFvMotionSolver::displacementFvMotionSolver(), displacementInterpolationFvMotionSolver::displacementInterpolationFvMotionSolver(), Foam::resError::laplacian(), Foam::fvm::laplacian(), basicPsiThermo::New(), hCombustionThermo::New(), motionSolver::New(), hsCombustionThermo::New(), hReactionThermo::New(), hsReactionThermo::New(), hhuCombustionThermo::New(), basicRhoThermo::New(), engineMesh::New(), psiChemistryModel::New(), rhoChemistryModel::New(), dynamicFvMesh::New(), laminarFlameSpeed::New(), SRFModel::New(), incompressible::turbulenceModel::New(), turbulenceModel::New(), radiationModel::New(), incompressible::LESModel::New(), LESModel::New(), incompressible::RASModel::New(), RASModel::New(), hReactionThermo::NewType(), hsReactionThermo::NewType(), hsCombustionThermo::NewType(), hCombustionThermo::NewType(), and meshRefinement::write().
Foam::fileName caseConstant | ( | ) | const |
Return constant name for the case.
which for parallel runs returns ../constant()
Definition at line 61 of file TimePaths.C.
Referenced by meshRefinement::write().
|
inline |
Return path.
Reimplemented in Time.
Definition at line 116 of file TimePaths.H.
References TimePaths::caseName(), and TimePaths::rootPath().
Referenced by TimePaths::constantPath(), and TimePaths::systemPath().
|
inline |
Return system path.
Definition at line 122 of file TimePaths.H.
References TimePaths::path(), and TimePaths::system().
|
inline |
Return constant path.
Definition at line 128 of file TimePaths.H.
References TimePaths::constant(), and TimePaths::path().