mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Add member "bool producer" to SingleWellState
This commit is contained in:
@@ -341,10 +341,6 @@ public:
|
||||
return this->status_.well_name(well_index);
|
||||
}
|
||||
|
||||
bool producer(std::size_t well_index) const {
|
||||
return this->is_producer_[well_index];
|
||||
}
|
||||
|
||||
const SingleWellState& well(std::size_t well_index) const {
|
||||
return this->wells_[well_index];
|
||||
}
|
||||
@@ -380,8 +376,6 @@ private:
|
||||
PhaseUsage phase_usage_;
|
||||
WellContainer<PerfData> perfdata;
|
||||
|
||||
WellContainer<int> is_producer_; // Size equal to number of local wells.
|
||||
|
||||
// vector with size number of wells +1.
|
||||
// iterate over all perforations of a given well
|
||||
// for (int perf = first_perf_index_[well_index]; perf < first_perf_index_[well_index] + num_perf_[well_index]; ++perf)
|
||||
|
||||
Reference in New Issue
Block a user