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.
bool processorCase | ( | ) | const [inline]
|
Return true if this is a processor case.
Definition at line 78 of file TimePaths.H.
const fileName& rootPath | ( | ) | const [inline]
|
Return root path.
Reimplemented in Time.
Definition at line 84 of file TimePaths.H.
Referenced by TimePaths::path().
const fileName& caseName | ( | ) | const [inline]
|
Return case name.
Reimplemented in Time.
Definition at line 90 of file TimePaths.H.
Referenced by TimePaths::path().
const word& system | ( | ) | const [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().
const word& constant | ( | ) | const [inline]
|
Return constant name.
Definition at line 106 of file TimePaths.H.
Referenced by TimePaths::constantPath(), displacementFvMotionSolver::displacementFvMotionSolver(), displacementInterpolationFvMotionSolver::displacementInterpolationFvMotionSolver(), Foam::fvm::laplacian(), Foam::resError::laplacian(), incompressible::turbulenceModel::New(), turbulenceModel::New(), incompressible::RASModel::New(), RASModel::New(), incompressible::LESModel::New(), LESModel::New(), hsReactionThermo::New(), hReactionThermo::New(), hsCombustionThermo::New(), hhuCombustionThermo::New(), hCombustionThermo::New(), radiationModel::New(), laminarFlameSpeed::New(), rhoChemistryModel::New(), psiChemistryModel::New(), basicRhoThermo::New(), basicPsiThermo::New(), SRFModel::New(), engineMesh::New(), motionSolver::New(), dynamicFvMesh::New(), hsReactionThermo::NewType(), hReactionThermo::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().
fileName path | ( | ) | const [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().
fileName systemPath | ( | ) | const [inline]
|
Return system path.
Definition at line 122 of file TimePaths.H.
References TimePaths::path(), and TimePaths::system().
fileName constantPath | ( | ) | const [inline]
|
Return constant path.
Definition at line 128 of file TimePaths.H.
References TimePaths::constant(), and TimePaths::path().