mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-03 21:16:54 -06:00
remove old serialization support for WellTracerProperties
This commit is contained in:
parent
2e34b91b53
commit
1a4f8f861f
@ -34,7 +34,6 @@
|
||||
#include <opm/parser/eclipse/EclipseState/Schedule/VFPProdTable.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/WellTracerProperties.hpp>
|
||||
#include <opm/parser/eclipse/EclipseState/Util/IOrderSet.hpp>
|
||||
#include <dune/common/parallel/mpitraits.hh>
|
||||
|
||||
@ -341,12 +340,6 @@ std::size_t packSize(const VFPProdTable& data,
|
||||
packSize(data.getTable(), comm);
|
||||
}
|
||||
|
||||
std::size_t packSize(const WellTracerProperties& data,
|
||||
Dune::MPIHelper::MPICommunicator comm)
|
||||
{
|
||||
return packSize(data.getConcentrations(), comm);
|
||||
}
|
||||
|
||||
std::size_t packSize(const UDAValue& data,
|
||||
Dune::MPIHelper::MPICommunicator comm)
|
||||
{
|
||||
@ -910,13 +903,6 @@ void pack(const VFPProdTable& data,
|
||||
pack(data.getTable(), buffer, position, comm);
|
||||
}
|
||||
|
||||
void pack(const WellTracerProperties& data,
|
||||
std::vector<char>& buffer, int& position,
|
||||
Dune::MPIHelper::MPICommunicator comm)
|
||||
{
|
||||
pack(data.getConcentrations(), buffer, position, comm);
|
||||
}
|
||||
|
||||
void pack(const UDAValue& data,
|
||||
std::vector<char>& buffer, int& position,
|
||||
Dune::MPIHelper::MPICommunicator comm)
|
||||
@ -1531,15 +1517,6 @@ void unpack(VFPProdTable& data,
|
||||
wfrAxis, gfrAxis, alqAxis, table);
|
||||
}
|
||||
|
||||
void unpack(WellTracerProperties& data,
|
||||
std::vector<char>& buffer, int& position,
|
||||
Dune::MPIHelper::MPICommunicator comm)
|
||||
{
|
||||
WellTracerProperties::ConcentrationMap ddata;
|
||||
unpack(ddata, buffer, position, comm);
|
||||
data = WellTracerProperties(ddata);
|
||||
}
|
||||
|
||||
void unpack(UDAValue& data,
|
||||
std::vector<char>& buffer, int& position,
|
||||
Dune::MPIHelper::MPICommunicator comm)
|
||||
|
@ -54,7 +54,6 @@ class VFPInjTable;
|
||||
class VFPProdTable;
|
||||
class WellConnections;
|
||||
class WellSegments;
|
||||
class WellTracerProperties;
|
||||
|
||||
namespace Mpi
|
||||
{
|
||||
@ -393,7 +392,6 @@ ADD_PACK_PROTOTYPES(Well::WellInjectionProperties)
|
||||
ADD_PACK_PROTOTYPES(Well::WellProductionProperties)
|
||||
ADD_PACK_PROTOTYPES(WellConnections)
|
||||
ADD_PACK_PROTOTYPES(WellSegments)
|
||||
ADD_PACK_PROTOTYPES(WellTracerProperties)
|
||||
|
||||
} // end namespace Mpi
|
||||
|
||||
|
@ -1383,7 +1383,7 @@ BOOST_AUTO_TEST_CASE(WellTracerProperties)
|
||||
{
|
||||
#ifdef HAVE_MPI
|
||||
Opm::WellTracerProperties val1({{"test", 1.0}, {"test2", 2.0}});
|
||||
auto val2 = PackUnpack(val1);
|
||||
auto val2 = PackUnpack2(val1);
|
||||
DO_CHECKS(WellTracerProperties)
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user