Merge pull request #3909 from totto82/fix_reg_msw

reset regularize_ before starting the inner iterations
This commit is contained in:
Tor Harald Sandve 2022-05-03 13:44:00 +02:00 committed by GitHub
commit ea82bebb3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1387,6 +1387,7 @@ namespace Opm
bool converged = false;
int stagnate_count = 0;
bool relax_convergence = false;
this->regularize_ = false;
for (; it < max_iter_number; ++it, ++debug_cost_counter_) {
assembleWellEqWithoutIteration(ebosSimulator, dt, inj_controls, prod_controls, well_state, group_state, deferred_logger);