Set correct target iterations in SimpleIterationTimestepControl

This commit is contained in:
Jakob Torben 2024-07-11 13:06:06 +02:00 committed by GitHub
parent 93e06d2187
commit 174c359d62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -84,7 +84,7 @@ namespace Opm
dtEstimate *= decayrate_;
}
// increase the time step size if we are below the number of target iterations
else if ( iterations < target_iterations_-1 )
else if ( iterations < target_iterations_ )
{
dtEstimate *= growthrate_;
}