mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Set correct target iterations in SimpleIterationTimestepControl
This commit is contained in:
parent
93e06d2187
commit
174c359d62
@ -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_;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user