From 5572a14c201331633fefde31795bfabd0be0d85a Mon Sep 17 00:00:00 2001 From: Tor Harald Sandve Date: Fri, 19 Dec 2014 07:18:36 +0100 Subject: [PATCH] Account for the renaming in the wellsManager Shut is renamed to stopped in the wellsManager in order to better reflect the name logic in the deck. This PR implements the nessesary change in opm-autodiff --- opm/autodiff/WellStateFullyImplicitBlackoil.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/autodiff/WellStateFullyImplicitBlackoil.hpp b/opm/autodiff/WellStateFullyImplicitBlackoil.hpp index 5b45f9ead..be31b263f 100644 --- a/opm/autodiff/WellStateFullyImplicitBlackoil.hpp +++ b/opm/autodiff/WellStateFullyImplicitBlackoil.hpp @@ -75,7 +75,7 @@ namespace Opm mapentry_t& wellMapEntry = wellMap_[ name ]; wellMapEntry[ 0 ] = w ; wellMapEntry[ 1 ] = wells->well_connpos[w ] ; - if (well_controls_well_is_shut(ctrl)) { + if (well_controls_well_is_stopped(ctrl)) { // Shut well: perfphaserates_ are all zero. } else { // Open well: Initialize perfphaserates_ to well