mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use WellType when serializing and constructing Well
This commit is contained in:
@@ -323,9 +323,9 @@ Opm::Well getFullWell()
|
||||
{
|
||||
Opm::UnitSystem unitSystem;
|
||||
return Opm::Well("test1", "test2", 1, 2, 3, 4, 5.0,
|
||||
Opm::Phase::WATER, Opm::Connection::Order::DEPTH,
|
||||
Opm::WellType(Opm::Phase::WATER), Opm::Connection::Order::DEPTH,
|
||||
unitSystem, 6.0, Opm::Well::Status::SHUT,
|
||||
7.0, true, true, false,
|
||||
7.0, true, false,
|
||||
Opm::Well::WellGuideRate{true, 1.0, Opm::Well::GuideRateTarget::COMB, 2.0},
|
||||
8.0, 9.0, false,
|
||||
std::make_shared<Opm::WellEconProductionLimits>(),
|
||||
@@ -2300,7 +2300,7 @@ BOOST_AUTO_TEST_CASE(Fault)
|
||||
BOOST_AUTO_TEST_CASE(WellType)
|
||||
{
|
||||
#ifdef HAVE_MPI
|
||||
Opm::WellType val1(true, Phase::OIL);
|
||||
Opm::WellType val1(true, Opm::Phase::OIL);
|
||||
auto val2 = PackUnpack(val1);
|
||||
DO_CHECKS(WellType)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user