MCPcopy Create free account
hub / github.com/Kitware/VTK / TimePath

Method TimePath

IO/Geometry/vtkOpenFOAMReader.cxx:920–927  ·  view source on GitHub ↗

The timeName for the given index, with special handling for "constant" time directory

Source from the content-addressed store, hash-verified

918
919 // The timeName for the given index, with special handling for "constant" time directory
920 std::string TimePath(int timeIndex) const
921 {
922 if (timeIndex < 0)
923 {
924 return this->CasePath + "constant";
925 }
926 return this->CasePath + this->TimeNames->GetValue(timeIndex);
927 }
928 std::string CurrentTimePath() const { return this->TimePath(this->TimeStep); }
929
930 // TimePath + region

Callers 3

CurrentTimePathMethod · 0.95
TimeRegionPathMethod · 0.95

Calls 1

GetValueMethod · 0.45

Tested by

no test coverage detected