mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
update InitConfig serialization
new member for gravity was added
This commit is contained in:
@@ -758,7 +758,7 @@ BOOST_AUTO_TEST_CASE(InitConfig)
|
||||
#if HAVE_MPI
|
||||
Opm::InitConfig val1(Opm::Equil({getEquilRecord(), getEquilRecord()}),
|
||||
Opm::FoamConfig({getFoamData(), getFoamData()}),
|
||||
true, true, 20, "test1");
|
||||
true, true, true, 20, "test1");
|
||||
auto val2 = PackUnpack(val1);
|
||||
BOOST_CHECK(std::get<1>(val2) == std::get<2>(val2));
|
||||
BOOST_CHECK(val1 == std::get<0>(val2));
|
||||
@@ -2453,7 +2453,7 @@ BOOST_AUTO_TEST_CASE(EclipseConfig)
|
||||
"test2", true, "test3", false);
|
||||
Opm::InitConfig init(Opm::Equil({getEquilRecord(), getEquilRecord()}),
|
||||
Opm::FoamConfig({getFoamData(), getFoamData()}),
|
||||
true, true, 20, "test1");
|
||||
true, true, true, 20, "test1");
|
||||
Opm::DynamicState<Opm::RestartSchedule> rsched({Opm::RestartSchedule(1, 2, 3)}, 2);
|
||||
Opm::DynamicState<std::map<std::string,int>> rkw({{{"test",3}}}, 3);
|
||||
Opm::RestartConfig restart(getTimeMap(), 1, true, rsched, rkw, {false, true});
|
||||
|
||||
Reference in New Issue
Block a user