Add status to SingleWellState

This commit is contained in:
Joakim Hove
2021-08-04 13:50:08 +02:00
parent 75eb65efb7
commit 379e938ee1
6 changed files with 39 additions and 33 deletions

View File

@@ -294,7 +294,7 @@ public:
void updateStatus(int well_index, Well::Status status);
void openWell(int well_index) {
this->status_[well_index] = Well::Status::OPEN;
this->wells_[well_index].status = Well::Status::OPEN;
}
void shutWell(int well_index);
@@ -365,7 +365,6 @@ private:
bool do_glift_optimization_;
WellContainer<SingleWellState> wells_;
WellContainer<Well::Status> status_;
WellContainer<const ParallelWellInfo*> parallel_well_info_;
WellContainer<std::vector<double>> wellrates_;
PhaseUsage phase_usage_;