mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
remove old serialization support for DenT
This commit is contained in:
@@ -307,7 +307,6 @@ HANDLE_AS_POD(data::CurrentControl)
|
||||
HANDLE_AS_POD(data::Rates)
|
||||
HANDLE_AS_POD(data::Segment)
|
||||
HANDLE_AS_POD(DENSITYRecord)
|
||||
HANDLE_AS_POD(DenT::entry)
|
||||
HANDLE_AS_POD(Eqldims)
|
||||
HANDLE_AS_POD(MLimits)
|
||||
HANDLE_AS_POD(PlmixparRecord)
|
||||
@@ -375,11 +374,6 @@ std::size_t packSize(const WellType& data, Dune::MPIHelper::MPICommunicator comm
|
||||
packSize(data.preferred_phase(), comm);
|
||||
}
|
||||
|
||||
std::size_t packSize(const DenT& data, Dune::MPIHelper::MPICommunicator comm)
|
||||
{
|
||||
return packSize(data.records(), comm);
|
||||
}
|
||||
|
||||
std::size_t packSize(const Rock2dTable& data, Dune::MPIHelper::MPICommunicator comm)
|
||||
{
|
||||
return packSize(data.pvmultValues(), comm) +
|
||||
@@ -1545,11 +1539,6 @@ void pack(const WellType& data, std::vector<char>& buffer, int& position,
|
||||
pack(data.preferred_phase(), buffer, position, comm);
|
||||
}
|
||||
|
||||
void pack(const DenT& data, std::vector<char>& buffer, int& position,
|
||||
Dune::MPIHelper::MPICommunicator comm) {
|
||||
pack(data.records(), buffer, position, comm);
|
||||
}
|
||||
|
||||
void pack(const Rock2dTable& data, std::vector<char>& buffer, int& position,
|
||||
Dune::MPIHelper::MPICommunicator comm)
|
||||
{
|
||||
@@ -2774,15 +2763,6 @@ void unpack(WellType& data, std::vector<char>& buffer, int& position, Dune::MPIH
|
||||
data = WellType( producer, preferred_phase );
|
||||
}
|
||||
|
||||
|
||||
|
||||
void unpack(DenT& data, std::vector<char>& buffer, int& position, Dune::MPIHelper::MPICommunicator comm)
|
||||
{
|
||||
std::vector<DenT::entry> records;
|
||||
unpack(records, buffer, position, comm);
|
||||
data = DenT( records );
|
||||
}
|
||||
|
||||
void unpack(Rock2dTable& data, std::vector<char>& buffer, int& position,
|
||||
Dune::MPIHelper::MPICommunicator comm)
|
||||
{
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
#include <opm/parser/eclipse/EclipseState/Schedule/TimeMap.hpp>
|
||||
#include <opm/parser/eclipse/EclipseState/Schedule/Well/Well.hpp>
|
||||
#include <opm/parser/eclipse/EclipseState/Schedule/Well/WellTestConfig.hpp>
|
||||
#include <opm/parser/eclipse/EclipseState/Tables/DenT.hpp>
|
||||
#include <opm/parser/eclipse/EclipseState/Util/OrderedMap.hpp>
|
||||
|
||||
#include <dune/common/parallel/mpihelper.hh>
|
||||
@@ -475,8 +474,6 @@ ADD_PACK_PROTOTYPES(DeckKeyword)
|
||||
ADD_PACK_PROTOTYPES(DeckRecord)
|
||||
ADD_PACK_PROTOTYPES(DENSITYRecord)
|
||||
ADD_PACK_PROTOTYPES(DensityTable)
|
||||
ADD_PACK_PROTOTYPES(DenT)
|
||||
ADD_PACK_PROTOTYPES(DenT::entry)
|
||||
ADD_PACK_PROTOTYPES(Dimension)
|
||||
ADD_PACK_PROTOTYPES(Eqldims)
|
||||
ADD_PACK_PROTOTYPES(Events)
|
||||
|
||||
Reference in New Issue
Block a user