mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
combining wellIsStopped and wellUnderZeroRateTaget
for better readability.
This commit is contained in:
@@ -195,9 +195,8 @@ public:
|
||||
|
||||
bool isPressureControlled(const WellState& well_state) const;
|
||||
|
||||
bool wellUnderZeroRateControl(const SummaryState& summary_state,
|
||||
bool stopppedOrZeroRateTarget(const SummaryState& summary_state,
|
||||
const WellState& well_state) const;
|
||||
|
||||
protected:
|
||||
bool getAllowCrossFlow() const;
|
||||
|
||||
@@ -212,6 +211,9 @@ protected:
|
||||
int polymerInjTable_() const;
|
||||
int polymerWaterTable_() const;
|
||||
|
||||
bool wellUnderZeroRateTarget(const SummaryState& summary_state,
|
||||
const WellState& well_state) const;
|
||||
|
||||
// definition of the struct OperabilityStatus
|
||||
struct OperabilityStatus {
|
||||
bool isOperableAndSolvable() const {
|
||||
|
||||
Reference in New Issue
Block a user