check controls in getWellConvergence

This commit is contained in:
Tor Harald Sandve
2022-10-18 10:55:17 +02:00
parent 36ca7d11e9
commit d25dc4e795
5 changed files with 67 additions and 21 deletions
+1 -1
View File
@@ -982,7 +982,7 @@ namespace Opm {
// Get convergence reports for reservoir and wells.
std::vector<Scalar> B_avg(numEq, 0.0);
auto report = getReservoirConvergence(timer.currentStepLength(), iteration, B_avg, residual_norms);
report += wellModel().getWellConvergence(B_avg);
report += wellModel().getWellConvergence(B_avg, /*checkWellGroupControls*/report.converged());
return report;
}