mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #5773 from akva2/fix_msw_deadlock
fixed: well model could deadlock
This commit is contained in:
commit
b6f23f6fe5
@ -1132,9 +1132,12 @@ namespace Opm {
|
||||
break;
|
||||
}
|
||||
++iter;
|
||||
OPM_BEGIN_PARALLEL_TRY_CATCH();
|
||||
for (auto& well : this->well_container_) {
|
||||
well->solveEqAndUpdateWellState(simulator_, well_state, deferred_logger);
|
||||
}
|
||||
OPM_END_PARALLEL_TRY_CATCH("BlackoilWellModel::doPreStepNetworkRebalance() failed: ",
|
||||
this->simulator_.vanguard().grid().comm());
|
||||
this->initPrimaryVariablesEvaluation();
|
||||
} while (iter < max_iter);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user