add mpi serialization for GridDims

This commit is contained in:
Arne Morten Kvarving
2020-02-25 12:32:46 +01:00
parent 94f0bd2af6
commit 55b5ebd3df
3 changed files with 35 additions and 0 deletions

View File

@@ -2520,6 +2520,16 @@ BOOST_AUTO_TEST_CASE(SolventDensityTable)
}
BOOST_AUTO_TEST_CASE(GridDims)
{
#ifdef HAVE_MPI
Opm::GridDims val1{ 1, 2, 3};
auto val2 = PackUnpack(val1);
DO_CHECKS(GridDims)
#endif
}
bool init_unit_test_func()
{
return true;