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:
@@ -116,7 +116,7 @@ assembleControlEq(const WellState& well_state,
|
||||
return rates;
|
||||
};
|
||||
|
||||
if (well_.wellUnderZeroRateControl(summaryState, well_state)) {
|
||||
if (well_.stopppedOrZeroRateTarget(summaryState, well_state)) {
|
||||
control_eq = primary_variables.eval(PrimaryVariables::WQTotal);
|
||||
} else if (well_.isInjector()) {
|
||||
// Find injection rate.
|
||||
|
||||
Reference in New Issue
Block a user