Merge pull request #4101 from GitPaean/fix_wells_active

Fix wells active determination
This commit is contained in:
Bård Skaflestad
2022-09-19 10:20:30 +02:00
committed by GitHub
3 changed files with 16 additions and 42 deletions

View File

@@ -90,8 +90,7 @@ public:
/// return true if wells are available in the reservoir
bool wellsActive() const;
bool hasWell(const std::string& wname);
/// return true if wells are available on this process
bool localWellsActive() const;
// whether there exists any multisegment well open on this process
bool anyMSWellOpenLocal() const;
@@ -143,8 +142,6 @@ public:
const size_t numCells,
bool handle_ms_well);
void setWellsActive(const bool wells_active);
/*
Will assign the internal member last_valid_well_state_ to the
current value of the this->active_well_state_. The state stored