Merge pull request #5476 from jakobtorben/remove_bug_in_simple_iteration_timestep_control

Set correct target iterations in SimpleIterationTimestepControl
This commit is contained in:
Atgeirr Flø Rasmussen
2024-09-12 21:43:18 +02:00
committed by GitHub

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_;
}