Skip to content
Snippets Groups Projects
Commit 6500f9e9 authored by Henry's avatar Henry
Browse files

setInitialDeltaT: only if the time-step would be reduced by doing so

parent 52224055
Branches
Tags
No related merge requests found
...@@ -26,7 +26,7 @@ Global ...@@ -26,7 +26,7 @@ Global
Description Description
Set the initial timestep corresponding to the timestep adjustment Set the initial timestep corresponding to the timestep adjustment
algorithm in setDeltaT algorithm in setDeltaT but only if it would reduce the timestep.
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
...@@ -39,7 +39,7 @@ if (adjustTimeStep) ...@@ -39,7 +39,7 @@ if (adjustTimeStep)
min min
( (
maxCo*runTime.deltaTValue()/CoNum, maxCo*runTime.deltaTValue()/CoNum,
maxDeltaT runTime.deltaTValue()
) )
); );
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment