remove old serialization support for WellFoamProperties

This commit is contained in:
Arne Morten Kvarving
2020-03-18 09:29:02 +01:00
parent d6c49bf801
commit 99898ad79e
3 changed files with 1 additions and 5 deletions

View File

@@ -34,7 +34,6 @@
#include <opm/parser/eclipse/EclipseState/Schedule/VFPProdTable.hpp> #include <opm/parser/eclipse/EclipseState/Schedule/VFPProdTable.hpp>
#include <opm/parser/eclipse/EclipseState/Schedule/Well/Connection.hpp> #include <opm/parser/eclipse/EclipseState/Schedule/Well/Connection.hpp>
#include <opm/parser/eclipse/EclipseState/Schedule/Well/WellConnections.hpp> #include <opm/parser/eclipse/EclipseState/Schedule/Well/WellConnections.hpp>
#include <opm/parser/eclipse/EclipseState/Schedule/Well/WellFoamProperties.hpp>
#include <opm/parser/eclipse/EclipseState/Schedule/Well/WellPolymerProperties.hpp> #include <opm/parser/eclipse/EclipseState/Schedule/Well/WellPolymerProperties.hpp>
#include <opm/parser/eclipse/EclipseState/Schedule/Well/WellTracerProperties.hpp> #include <opm/parser/eclipse/EclipseState/Schedule/Well/WellTracerProperties.hpp>
#include <opm/parser/eclipse/EclipseState/Util/IOrderSet.hpp> #include <opm/parser/eclipse/EclipseState/Util/IOrderSet.hpp>
@@ -264,7 +263,6 @@ HANDLE_AS_POD(data::CurrentControl)
HANDLE_AS_POD(data::Rates) HANDLE_AS_POD(data::Rates)
HANDLE_AS_POD(data::Segment) HANDLE_AS_POD(data::Segment)
HANDLE_AS_POD(WellBrineProperties) HANDLE_AS_POD(WellBrineProperties)
HANDLE_AS_POD(WellFoamProperties)
std::size_t packSize(const data::Well& data, Dune::MPIHelper::MPICommunicator comm) std::size_t packSize(const data::Well& data, Dune::MPIHelper::MPICommunicator comm)
{ {

View File

@@ -53,7 +53,6 @@ class Valve;
class VFPInjTable; class VFPInjTable;
class VFPProdTable; class VFPProdTable;
class WellConnections; class WellConnections;
class WellFoamProperties;
class WellPolymerProperties; class WellPolymerProperties;
class WellSegments; class WellSegments;
class WellTracerProperties; class WellTracerProperties;
@@ -395,7 +394,6 @@ ADD_PACK_PROTOTYPES(Well::WellInjectionProperties)
ADD_PACK_PROTOTYPES(Well::WellProductionProperties) ADD_PACK_PROTOTYPES(Well::WellProductionProperties)
ADD_PACK_PROTOTYPES(WellBrineProperties) ADD_PACK_PROTOTYPES(WellBrineProperties)
ADD_PACK_PROTOTYPES(WellConnections) ADD_PACK_PROTOTYPES(WellConnections)
ADD_PACK_PROTOTYPES(WellFoamProperties)
ADD_PACK_PROTOTYPES(WellPolymerProperties) ADD_PACK_PROTOTYPES(WellPolymerProperties)
ADD_PACK_PROTOTYPES(WellSegments) ADD_PACK_PROTOTYPES(WellSegments)
ADD_PACK_PROTOTYPES(WellTracerProperties) ADD_PACK_PROTOTYPES(WellTracerProperties)

View File

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