MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / setTime

Function setTime

src/OpenFOAM/db/Time/Time.C:856–862  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

854
855
856void Foam::Time::setTime(const Time& t)
857{
858 value() = t.value();
859 dimensionedScalar::name() = t.dimensionedScalar::name();
860 timeIndex_ = t.timeIndex_;
861 fileHandler().setTime(*this);
862}
863
864
865void Foam::Time::setTime(const instant& inst, const label newIndex)

Callers 2

setControlsFunction · 0.70
Time.CFile · 0.70

Calls 6

fileHandlerFunction · 0.85
setTimeMethod · 0.80
readIfPresentMethod · 0.80
nameFunction · 0.50
valueMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected