mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #3909 from totto82/fix_reg_msw
reset regularize_ before starting the inner iterations
This commit is contained in:
commit
ea82bebb3a
@ -1387,6 +1387,7 @@ namespace Opm
|
|||||||
bool converged = false;
|
bool converged = false;
|
||||||
int stagnate_count = 0;
|
int stagnate_count = 0;
|
||||||
bool relax_convergence = false;
|
bool relax_convergence = false;
|
||||||
|
this->regularize_ = false;
|
||||||
for (; it < max_iter_number; ++it, ++debug_cost_counter_) {
|
for (; it < max_iter_number; ++it, ++debug_cost_counter_) {
|
||||||
|
|
||||||
assembleWellEqWithoutIteration(ebosSimulator, dt, inj_controls, prod_controls, well_state, group_state, deferred_logger);
|
assembleWellEqWithoutIteration(ebosSimulator, dt, inj_controls, prod_controls, well_state, group_state, deferred_logger);
|
||||||
|
Loading…
Reference in New Issue
Block a user