remove old serialization support for Dimension

This commit is contained in:
Arne Morten Kvarving 2020-03-18 09:29:02 +01:00
parent 37ab44d805
commit 02af915917
2 changed files with 1 additions and 3 deletions

View File

@ -40,7 +40,6 @@
namespace Opm namespace Opm
{ {
class Dimension;
class UnitSystem; class UnitSystem;
class VFPInjTable; class VFPInjTable;
class VFPProdTable; class VFPProdTable;
@ -350,7 +349,6 @@ ADD_PACK_PROTOTYPES(data::Segment)
ADD_PACK_PROTOTYPES(data::Solution) ADD_PACK_PROTOTYPES(data::Solution)
ADD_PACK_PROTOTYPES(data::Well) ADD_PACK_PROTOTYPES(data::Well)
ADD_PACK_PROTOTYPES(data::WellRates) ADD_PACK_PROTOTYPES(data::WellRates)
ADD_PACK_PROTOTYPES(Dimension)
ADD_PACK_PROTOTYPES(RestartKey) ADD_PACK_PROTOTYPES(RestartKey)
ADD_PACK_PROTOTYPES(RestartValue) ADD_PACK_PROTOTYPES(RestartValue)
ADD_PACK_PROTOTYPES(std::string) ADD_PACK_PROTOTYPES(std::string)

View File

@ -1542,7 +1542,7 @@ BOOST_AUTO_TEST_CASE(Dimension)
{ {
#ifdef HAVE_MPI #ifdef HAVE_MPI
Opm::Dimension val1(1.0, 2.0); Opm::Dimension val1(1.0, 2.0);
auto val2 = PackUnpack(val1); auto val2 = PackUnpack2(val1);
DO_CHECKS(Dimension) DO_CHECKS(Dimension)
#endif #endif
} }