mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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
This commit is contained in:
parent
c04351d4ac
commit
5572a14c20
@ -75,7 +75,7 @@ namespace Opm
|
|||||||
mapentry_t& wellMapEntry = wellMap_[ name ];
|
mapentry_t& wellMapEntry = wellMap_[ name ];
|
||||||
wellMapEntry[ 0 ] = w ;
|
wellMapEntry[ 0 ] = w ;
|
||||||
wellMapEntry[ 1 ] = wells->well_connpos[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.
|
// Shut well: perfphaserates_ are all zero.
|
||||||
} else {
|
} else {
|
||||||
// Open well: Initialize perfphaserates_ to well
|
// Open well: Initialize perfphaserates_ to well
|
||||||
|
Loading…
Reference in New Issue
Block a user