mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-01 12:06:54 -06:00
Fixes StandardWell::updateIPR for distributed wells.
Of course the summation needs to be over all perforations of the wells, no matter where they reside. Hence we need communication.
This commit is contained in:
parent
c09797355d
commit
fc4a7fa3c1
@ -1676,6 +1676,8 @@ namespace Opm
|
||||
ipr_b_[ebosCompIdxToFlowCompIdx(p)] += ipr_b_perf[p];
|
||||
}
|
||||
}
|
||||
this->parallel_well_info_.communication().sum(ipr_a_.data(), ipr_a_.size());
|
||||
this->parallel_well_info_.communication().sum(ipr_b_.data(), ipr_b_.size());
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user