mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Add global index to Connection
This commit is contained in:
parent
0970867e47
commit
91572522d6
@ -1411,7 +1411,7 @@ BOOST_AUTO_TEST_CASE(Connection)
|
||||
Opm::Connection val1(Opm::Connection::Direction::Y,
|
||||
1.0, Opm::Connection::State::SHUT,
|
||||
2, 3, 4.0, 5.0, 6.0, 7.0, 8.0,
|
||||
{9, 10, 11}, Opm::Connection::CTFKind::Defaulted,
|
||||
{9, 10, 11}, 12345, Opm::Connection::CTFKind::Defaulted,
|
||||
12, 13.0, 14.0, true,
|
||||
15, 16, 17.0);
|
||||
auto val2 = PackUnpack2(val1);
|
||||
@ -1473,7 +1473,7 @@ BOOST_AUTO_TEST_CASE(WellConnections)
|
||||
Opm::Connection conn(Opm::Connection::Direction::Y,
|
||||
1.0, Opm::Connection::State::SHUT,
|
||||
2, 3, 4.0, 5.0, 6.0, 7.0, 8.0,
|
||||
{9, 10, 11}, Opm::Connection::CTFKind::Defaulted,
|
||||
{9, 10, 11}, 12345, Opm::Connection::CTFKind::Defaulted,
|
||||
12, 13.0, 14.0, true,
|
||||
15, 16, 17.0);
|
||||
Opm::WellConnections val1(Opm::Connection::Order::TRACK, 1, 2, {conn, conn});
|
||||
|
Loading…
Reference in New Issue
Block a user