mapFields: Corrected handling of userTime
Resolves bug-report https://bugs.openfoam.org/view.php?id=3786
This commit is contained in:
@ -70,7 +70,7 @@ functions
|
||||
codeExecute
|
||||
#{
|
||||
const Time& runTime = mesh().time();
|
||||
if (runTime.timeToUserTime(runTime.value()) >= -15.0)
|
||||
if (runTime.userTimeValue() >= -15.0)
|
||||
{
|
||||
const_cast<Time&>(runTime).setDeltaT
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user