Merge pull request #265 from totto82/fix_stoppedwells2

Account for the renaming in the wellsManager
This commit is contained in:
Atgeirr Flø Rasmussen 2015-01-09 13:16:37 +01:00
commit 7a3008db72

View File

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