mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use plain WellTestState::hasWellClosed() without reason
This commit is contained in:
@@ -617,8 +617,7 @@ namespace Opm {
|
||||
// TODO: should we do this for all kinds of closing reasons?
|
||||
// something like wellTestState().hasWell(well_name)?
|
||||
bool wellIsStopped = false;
|
||||
if (wellTestState().hasWellClosed(well_name, WellTestConfig::Reason::ECONOMIC) ||
|
||||
wellTestState().hasWellClosed(well_name, WellTestConfig::Reason::PHYSICAL))
|
||||
if (wellTestState().hasWellClosed(well_name))
|
||||
{
|
||||
if (well_ecl.getAutomaticShutIn()) {
|
||||
// shut wells are not added to the well container
|
||||
|
||||
Reference in New Issue
Block a user