mapFields: Corrected handling of userTime

Resolves bug-report https://bugs.openfoam.org/view.php?id=3786
This commit is contained in:
Henry Weller
2022-01-18 10:52:06 +00:00
parent c104aac1da
commit ded017b762
10 changed files with 35 additions and 29 deletions

View File

@ -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
(