mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #265 from totto82/fix_stoppedwells2
Account for the renaming in the wellsManager
This commit is contained in:
commit
7a3008db72
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user