functionObjects_timeToUserTime_diff.txt (1,327 bytes)
diff --git a/src/functionObjects/utilities/setTimeStep/setTimeStepFunctionObject.C b/src/functionObjects/utilities/setTimeStep/setTimeStepFunctionObject.C
index f8051c2..8d2a9a6 100644
--- a/src/functionObjects/utilities/setTimeStep/setTimeStepFunctionObject.C
+++ b/src/functionObjects/utilities/setTimeStep/setTimeStepFunctionObject.C
@@ -88,7 +88,7 @@ bool Foam::functionObjects::setTimeStepFunctionObject::execute()
{
const_cast<Time&>(time_).setDeltaT
(
- timeStepPtr_().value(time_.userTimeValue())
+ time_.userTimeToTime(timeStepPtr_().value(time_.userTimeValue()))
);
}
diff --git a/src/functionObjects/utilities/setWriteInterval/setWriteIntervalFunctionObject.C b/src/functionObjects/utilities/setWriteInterval/setWriteIntervalFunctionObject.C
index 75ab1ac..e47918f 100644
--- a/src/functionObjects/utilities/setWriteInterval/setWriteIntervalFunctionObject.C
+++ b/src/functionObjects/utilities/setWriteInterval/setWriteIntervalFunctionObject.C
@@ -85,7 +85,7 @@ bool Foam::functionObjects::setWriteIntervalFunctionObject::execute()
{
const_cast<Time&>(time_).setWriteInterval
(
- writeIntervalPtr_().value(time_.userTimeValue())
+ time_.userTimeToTime(writeIntervalPtr_().value(time_.userTimeValue()))
);
return true;