combining wellIsStopped and wellUnderZeroRateTaget

for better readability.
This commit is contained in:
Kai Bao
2023-03-29 14:33:05 +02:00
parent b6eecf5c55
commit 9304542dbe
16 changed files with 53 additions and 46 deletions

View File

@@ -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;
}