Add serialization for AquiferConfig

This commit is contained in:
Joakim Hove
2020-02-18 16:01:54 +01:00
parent ff3c634924
commit 86972dc494
3 changed files with 40 additions and 0 deletions

View File

@@ -1925,6 +1925,19 @@ BOOST_AUTO_TEST_CASE(Aquancon)
#endif
}
BOOST_AUTO_TEST_CASE(AquferConfig)
{
#ifdef HAVE_MPI
Opm::Aquifetp fetp = getAquifetp();
Opm::AquiferCT ct = getAquiferCT();
Opm::Aquancon conn = getAquancon();
Opm::AquiferConfig val1(fetp, ct, conn);
auto val2 = PackUnpack(val1);
DO_CHECKS(AquiferConfig);
#endif
}
BOOST_AUTO_TEST_CASE(GuideRateModel)