Adds original ECL index of well connection to PerforationData

and use it in the WellInterface instead of creating a vector
with these indices there. The original approach recreates
information in another path of the well and assumes that all
connections are in a process's local partition. That assumption
does not hold any more for distributed wells.
This commit is contained in:
Markus Blatt
2020-11-12 14:04:27 +01:00
parent 010ff83f26
commit 049aaad326
4 changed files with 8 additions and 12 deletions

View File

@@ -389,7 +389,7 @@ namespace Opm
// of states of individual well.
int first_perf_;
std::vector<int> originalConnectionIndex_;
const std::vector<PerforationData>* perf_data_;
std::vector<RateVector> connectionRates_;