Add well potentials to SingleWellState

This commit is contained in:
Joakim Hove
2021-08-05 10:57:15 +02:00
parent e84eaa3179
commit 2f504536f4
10 changed files with 32 additions and 42 deletions

View File

@@ -186,14 +186,6 @@ public:
return this->productivity_index_[well_index];
}
std::vector<double>& wellPotentials(std::size_t well_index) {
return this->well_potentials_[well_index];
}
const std::vector<double>& wellPotentials(std::size_t well_index) const {
return this->well_potentials_[well_index];
}
template<class Comm>
void communicateGroupRates(const Comm& comm);
@@ -360,10 +352,6 @@ private:
// Productivity Index
WellContainer<std::vector<double>> productivity_index_;
// Well potentials
WellContainer<std::vector<double>> well_potentials_;
data::Segment
reportSegmentResults(const PhaseUsage& pu,
const int well_id,