Time: Simplification and rationalisation of userTime
First step towards merging userTime into Time so that post-processing tools operate with the same userTime mode as the solvers.
This commit is contained in:
@ -88,7 +88,7 @@ bool Foam::functionObjects::setTimeStepFunctionObject::execute()
|
||||
{
|
||||
const_cast<Time&>(time_).setDeltaT
|
||||
(
|
||||
timeStepPtr_().value(time_.timeOutputValue())
|
||||
timeStepPtr_().value(time_.userTime())
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2020 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2020-2021 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -85,7 +85,7 @@ bool Foam::functionObjects::setWriteIntervalFunctionObject::execute()
|
||||
{
|
||||
const_cast<Time&>(time_).setWriteInterval
|
||||
(
|
||||
writeIntervalPtr_().value(time_.timeOutputValue())
|
||||
writeIntervalPtr_().value(time_.userTime())
|
||||
);
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user