mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
BlackoilWellModel: move forceShutWellByNameIfPredictionMode to generic class
This commit is contained in:
@@ -141,6 +141,11 @@ public:
|
||||
/// Return true if any well has a THP constraint.
|
||||
bool hasTHPConstraints() const;
|
||||
|
||||
/// Shut down any single well, but only if it is in prediction mode.
|
||||
/// Returns true if the well was actually found and shut.
|
||||
bool forceShutWellByNameIfPredictionMode(const std::string& wellname,
|
||||
const double simulation_time);
|
||||
|
||||
protected:
|
||||
GroupState& groupState() { return this->active_wgstate_.group_state; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user