Address the time paths without using the Time class. More...
Public Member Functions | |
TimePaths (const argList &args, const word &systemName="system", const word &constantName="constant") | |
TimePaths (const fileName &rootPath, const fileName &caseName, const word &systemName="system", const word &constantName="constant") | |
TimePaths (const bool processorCase, const fileName &rootPath, const bool distributed, const fileName &globalCaseName, const fileName &caseName, const word &systemName="system", const word &constantName="constant") | |
bool | distributed () const noexcept |
bool | processorCase () const noexcept |
bool | processorCase (const bool isProcessorCase) noexcept |
const fileName & | rootPath () const |
const fileName & | globalCaseName () const |
const fileName & | caseName () const |
fileName & | caseName () |
fileName | path () const |
fileName | globalPath () const |
fileName | relativePath (const fileName &input, const bool caseTag=false) const |
const word & | constant () const |
const word & | system () const |
fileName | caseConstant () const |
fileName | caseSystem () const |
fileName | constantPath () const |
fileName | systemPath () const |
instantList | times () const |
instant | findClosestTime (const scalar t) const |
Static Public Member Functions | |
static instantList | findTimes (const fileName &directory, const word &constantName="constant") |
static label | findClosestTimeIndex (const instantList &timeDirs, const scalar t, const word &constantName="constant") |
Address the time paths without using the Time class.
Definition at line 52 of file TimePaths.H.
|
explicit |
Definition at line 62 of file TimePaths.C.
TimePaths | ( | const fileName & | rootPath, |
const fileName & | caseName, | ||
const word & | systemName = "system" , |
||
const word & | constantName = "constant" |
||
) |
Definition at line 84 of file TimePaths.C.
TimePaths | ( | const bool | processorCase, |
const fileName & | rootPath, | ||
const bool | distributed, | ||
const fileName & | globalCaseName, | ||
const fileName & | caseName, | ||
const word & | systemName = "system" , |
||
const word & | constantName = "constant" |
||
) |
Definition at line 105 of file TimePaths.C.
|
inlinenoexcept |
Definition at line 23 of file TimePathsI.H.
Referenced by Time::readDict().
|
inlinenoexcept |
Definition at line 29 of file TimePathsI.H.
Referenced by cyclicAMIPolyPatch::canResetAMI(), cyclicAMIFvPatch::coupled(), masterUncollatedFileOperation::exists(), uncollatedFileOperation::filePathInfo(), masterUncollatedFileOperation::filePathInfo(), collatedFileOperation::objectPath(), and collatedFileOperation::writeObject().
Definition at line 35 of file TimePathsI.H.
|
inline |
Definition at line 43 of file TimePathsI.H.
Referenced by Time::path().
|
inline |
Definition at line 49 of file TimePathsI.H.
Referenced by uncollatedFileOperation::filePathInfo(), masterUncollatedFileOperation::filePathInfo(), masterUncollatedFileOperation::localObjectPath(), and fileOperation::processorsCasePath().
|
inline |
Definition at line 55 of file TimePathsI.H.
Referenced by Time::path().
|
inline |
|
inline |
Definition at line 67 of file TimePathsI.H.
|
inline |
Definition at line 73 of file TimePathsI.H.
Referenced by CloudFunctionObject< CloudType >::CloudFunctionObject(), meshRefinement::findRegions(), averageNeighbourFvGeometryScheme::movePoints(), objectiveManager::objectiveManager(), abort::read(), and shortestPathSet::shortestPathSet().
|
inline |
Definition at line 80 of file TimePathsI.H.
References Foam::input().
Referenced by PDRblock::writeBlockMeshDict().
|
inline |
Definition at line 89 of file TimePathsI.H.
Referenced by timeVaryingMappedFixedValuePointPatchField< Type >::checkTable(), componentDisplacementMotionSolver::componentDisplacementMotionSolver(), masterUncollatedFileOperation::filePath(), uncollatedFileOperation::filePathInfo(), masterUncollatedFileOperation::filePathInfo(), fileOperation::findInstance(), masterUncollatedFileOperation::findInstance(), meshReader::mesh(), simplifiedDynamicFvMeshBase::New(), motionSolver::New(), engineMesh::New(), basicThermo::New(), coordinateSystems::New(), dynamicFvMesh::New(), motionSolver::iNew::operator()(), points0MotionSolver::points0IO(), masterUncollatedFileOperation::readObjects(), regionProperties::regionProperties(), timeSelector::select0(), Foam::selectReadIO(), masterUncollatedFileOperation::setTime(), cyclicAMIPolyPatch::surfPtr(), mappedPatchBase::surfPtr(), triSurfaceMeshPointSet::triSurfaceMeshPointSet(), triSurface::triSurfInstance(), velocityDisplacementMotionSolver::velocityDisplacementMotionSolver(), volBSplinesBase::volBSplinesBase(), FIREMeshWriter::write(), triSurfaceTools::writeCurvature(), and triSurfaceMesh::writeObject().
|
inline |
Definition at line 95 of file TimePathsI.H.
Referenced by codedBase::codeDict(), fvMeshTools::createDummyFvMeshFiles(), uncollatedFileOperation::filePathInfo(), masterUncollatedFileOperation::filePathInfo(), optimisationManager::New(), PDRblock::writeBlockMeshDict(), and triSurfaceMesh::writeObject().
|
inline |
Definition at line 101 of file TimePathsI.H.
Referenced by timeVaryingMappedFixedValuePointPatchField< Type >::checkTable(), and triSurfaceMesh::writeObject().
|
inline |
Definition at line 112 of file TimePathsI.H.
References Foam::system().
Referenced by lumpedPointIOMovement::New(), sensitivitySurface::smoothSensitivities(), and triSurfaceMesh::writeObject().
|
inline |
Definition at line 123 of file TimePathsI.H.
References path().
|
inline |
Definition at line 129 of file TimePathsI.H.
References path(), and Foam::system().
|
static |
Definition at line 133 of file TimePaths.C.
References Foam::fileHandler(), and fileOperation::findTimes().
Referenced by uniformInterpolatedDisplacementPointPatchVectorField::uniformInterpolatedDisplacementPointPatchVectorField().
|
static |
Definition at line 149 of file TimePaths.C.
References Foam::diff(), Foam::mag(), and Foam::name().
Referenced by if(), and timeSelector::selected().
Foam::instantList times | ( | ) | const |
Definition at line 142 of file TimePaths.C.
References path().
Referenced by fileOperation::findInstance(), masterUncollatedFileOperation::findInstance(), timeSelector::select0(), and triSurface::triSurfInstance().
Foam::instant findClosestTime | ( | const scalar | t | ) | const |
Definition at line 176 of file TimePaths.C.
References Foam::diff(), Foam::mag(), and path().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.