mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
[bugfix] Make sure all ranks participate in collective communication.
No need an early return if there are no local wells, anyway. The algorithms can handle empty containers like a charm.
This commit is contained in:
parent
1520f9c85f
commit
fc7609bfd2
@ -149,9 +149,6 @@ namespace Opm {
|
||||
BlackoilWellModel<TypeTag>::
|
||||
linearize(SparseMatrixAdapter& jacobian, GlobalEqVector& res)
|
||||
{
|
||||
if (!localWellsActive())
|
||||
return;
|
||||
|
||||
if (!param_.matrix_add_well_contributions_)
|
||||
{
|
||||
OPM_BEGIN_PARALLEL_TRY_CATCH();
|
||||
|
Loading…
Reference in New Issue
Block a user