mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -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:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user