mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fix well iterations counting bugs.
This commit is contained in:
parent
f54e3ebe38
commit
bb0164f39f
@ -137,7 +137,11 @@ namespace Opm
|
||||
}
|
||||
converged = report.converged;
|
||||
linIters += report.linear_iterations;
|
||||
wellIters += report.well_iterations;
|
||||
if (report.well_iterations != std::numeric_limits<int>::min()) {
|
||||
wellIters += report.well_iterations;
|
||||
} else {
|
||||
wellIters = report.well_iterations;
|
||||
}
|
||||
++iteration;
|
||||
} while ( (!converged && (iteration <= maxIter())) || (iteration <= minIter()));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user