mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-13 09:51:57 -06:00
Use reference for WellInterface::parallel_well_info_
This commit is contained in:
parent
eb03712027
commit
2e5b1c8d54
@ -662,7 +662,7 @@ namespace Opm
|
||||
|
||||
// accumulate resWell_ and invDuneD_ in parallel to get effects of all perforations (might be distributed)
|
||||
wellhelpers::sumDistributedWellEntries(invDuneD_[0][0], resWell_[0],
|
||||
this->parallel_well_info_->communication());
|
||||
this->parallel_well_info_.communication());
|
||||
// add vol * dF/dt + Q to the well equations;
|
||||
for (int componentIdx = 0; componentIdx < numWellConservationEq; ++componentIdx) {
|
||||
// TODO: following the development in MSW, we need to convert the volume of the wellbore to be surface volume
|
||||
|
@ -319,7 +319,7 @@ namespace Opm
|
||||
|
||||
Well well_ecl_;
|
||||
|
||||
const ParallelWellInfo* parallel_well_info_;
|
||||
const ParallelWellInfo& parallel_well_info_;
|
||||
|
||||
const int current_step_;
|
||||
|
||||
|
@ -41,7 +41,7 @@ namespace Opm
|
||||
const int first_perf_index,
|
||||
const std::vector<PerforationData>& perf_data)
|
||||
: well_ecl_(well)
|
||||
, parallel_well_info_(&pw_info)
|
||||
, parallel_well_info_(pw_info)
|
||||
, current_step_(time_step)
|
||||
, param_(param)
|
||||
, rateConverter_(rate_converter)
|
||||
|
Loading…
Reference in New Issue
Block a user