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:
@@ -185,7 +185,7 @@ namespace Opm
|
||||
DeferredLogger& deferred_logger) /* const */
|
||||
{
|
||||
const auto& summary_state = ebos_simulator.vanguard().summaryState();
|
||||
if (this->wellUnderZeroRateControl(summary_state, well_state)) {
|
||||
if (this->stopppedOrZeroRateTarget(summary_state, well_state)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user