mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use well index to access WellState::perfThroughput()
This commit is contained in:
@@ -238,12 +238,12 @@ public:
|
||||
return well_potentials_;
|
||||
}
|
||||
|
||||
std::vector<double>& perfThroughput() {
|
||||
return perf_water_throughput_;
|
||||
double * perfThroughput(std::size_t well_index) {
|
||||
return &perf_water_throughput_[this->first_perf_index_[well_index]];
|
||||
}
|
||||
|
||||
const std::vector<double>& perfThroughput() const {
|
||||
return perf_water_throughput_;
|
||||
const double * perfThroughput(std::size_t well_index) const {
|
||||
return &perf_water_throughput_[this->first_perf_index_[well_index]];
|
||||
}
|
||||
|
||||
std::vector<double>& perfSkinPressure() {
|
||||
|
||||
Reference in New Issue
Block a user