Store Value::Shut == -1000 for shut wells in IWEL
This commit is contained in:
parent
956dce6be6
commit
f02ecb472f
@ -353,7 +353,7 @@ namespace {
|
||||
? 0 : -1;
|
||||
|
||||
iWell[Ix::Status] = any_flowing_conn
|
||||
? Value::Stop : -1;
|
||||
? Value::Stop : Value::Shut;
|
||||
|
||||
}
|
||||
|
||||
@ -381,7 +381,7 @@ namespace {
|
||||
? iWell[Ix::ActWCtrl] : -1;
|
||||
|
||||
iWell[Ix::Status] = any_flowing_conn
|
||||
? Value::Open : -1;
|
||||
? Value::Open : Value::Shut;
|
||||
}
|
||||
} // IWell
|
||||
|
||||
|
@ -833,7 +833,7 @@ BOOST_AUTO_TEST_CASE (Dynamic_Well_Data_Step1)
|
||||
// This needs to be corrected in flow
|
||||
|
||||
BOOST_CHECK_EQUAL(iwell[i1 + Ix::item9 ], -1); // No flowing conns.
|
||||
BOOST_CHECK_EQUAL(iwell[i1 + Ix::Status], -1); // No flowing conns.
|
||||
BOOST_CHECK_EQUAL(iwell[i1 + Ix::Status], Value::Shut); // No flowing conns.
|
||||
}
|
||||
|
||||
// XWEL (OP_1)
|
||||
|
Loading…
Reference in New Issue
Block a user