A class for addressing time paths without using the Time class. More...
Public Member Functions | |
TimePaths (const fileName &rootPath, const fileName &caseName, const word &systemName, const word &constantName) | |
Construct given database name, rootPath and casePath. More... | |
TimePaths (const bool processorCase, const fileName &rootPath, const fileName &globalCaseName, const fileName &caseName, const word &systemName, const word &constantName) | |
Construct given database name, rootPath and casePath. More... | |
bool | processorCase () const |
Return true if this is a processor case. More... | |
const fileName & | rootPath () const |
Return root path. More... | |
const fileName & | globalCaseName () const |
Return global case name. More... | |
const fileName & | caseName () const |
Return case name. More... | |
const word & | system () const |
Return system name. More... | |
fileName | caseSystem () const |
Return system name for the case. More... | |
const word & | constant () const |
Return constant name. More... | |
fileName | caseConstant () const |
Return constant name for the case. More... | |
fileName | path () const |
Return path. More... | |
fileName | systemPath () const |
Return system path. More... | |
fileName | constantPath () const |
Return constant path. More... | |
A class for addressing time paths without using the Time class.
Definition at line 49 of file TimePaths.H.
TimePaths | ( | const fileName & | rootPath, |
const fileName & | caseName, | ||
const word & | systemName, | ||
const word & | constantName | ||
) |
Construct given database name, rootPath and casePath.
Definition at line 32 of file TimePaths.C.
References Foam::pos().
TimePaths | ( | const bool | processorCase, |
const fileName & | rootPath, | ||
const fileName & | globalCaseName, | ||
const fileName & | caseName, | ||
const word & | systemName, | ||
const word & | constantName | ||
) |
Construct given database name, rootPath and casePath.
Definition at line 68 of file TimePaths.C.
References Foam::pos().
|
inline |
Return true if this is a processor case.
Definition at line 90 of file TimePaths.H.
|
inline |
Return root path.
Definition at line 96 of file TimePaths.H.
Referenced by TimePaths::path(), and Time::rootPath().
|
inline |
Return global case name.
Definition at line 102 of file TimePaths.H.
|
inline |
Return case name.
Definition at line 108 of file TimePaths.H.
Referenced by Time::caseName(), and TimePaths::path().
|
inline |
Return system name.
Definition at line 114 of file TimePaths.H.
References TimePaths::caseSystem().
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 110 of file TimePaths.C.
References TimePaths::system().
Referenced by TimePaths::system(), and meshRefinement::write().
Return constant name.
Definition at line 124 of file TimePaths.H.
References TimePaths::caseConstant().
Referenced by TimePaths::caseConstant(), componentDisplacementMotionSolver::componentDisplacementMotionSolver(), TimePaths::constantPath(), displacementInterpolationMotionSolver::displacementInterpolationMotionSolver(), edgeMeshFormatsCore::getLineNoComment(), surfaceFormatsCore::getLineNoComment(), greyMeanAbsorptionEmission::greyMeanAbsorptionEmission(), meshReader::mesh(), basicChemistryModel::New(), motionSolver::New(), basicSolidChemistryModel::New(), psiCombustionModel::New(), rhoCombustionModel::New(), engineMesh::New(), coordinateSystems::New(), dynamicFvMesh::New(), laminarFlameSpeed::New(), surfaceFilmModel::New(), SRFModel::New(), basicThermo::New(), RASModel< BasicTurbulenceModel >::New(), thermalBaffleModel::New(), LESModel< BasicTurbulenceModel >::New(), pyrolysisModel::New(), radiationModel::New(), pyrolysisModelCollection::pyrolysisModelCollection(), timeSelector::select0(), regionCoupledBase::surfPtr(), mappedPatchBase::surfPtr(), triSurfaceMeshPointSet::triSurfaceMeshPointSet(), triSurface::triSurfInstance(), TurbulenceModel< Alpha, Rho, BasicTurbulenceModel, TransportModel >::TurbulenceModel(), meshReader::warnDuplicates(), STARCD::write(), and meshRefinement::write().
Foam::fileName caseConstant | ( | ) | const |
Return constant name for the case.
which for parallel runs returns ../constant()
Definition at line 123 of file TimePaths.C.
References TimePaths::constant().
Referenced by TimePaths::constant(), and meshRefinement::write().
|
inline |
Return path.
Definition at line 134 of file TimePaths.H.
References TimePaths::caseName(), and TimePaths::rootPath().
Referenced by TimePaths::constantPath(), and TimePaths::systemPath().
|
inline |
Return system path.
Definition at line 140 of file TimePaths.H.
References TimePaths::path(), and TimePaths::system().
|
inline |
Return constant path.
Definition at line 146 of file TimePaths.H.
References TimePaths::constant(), and TimePaths::path().