remove old serialization support for PlyvmhTable

This commit is contained in:
Arne Morten Kvarving 2020-03-17 10:07:46 +01:00
parent 05d02dcd66
commit 6c8ff61c1c
2 changed files with 0 additions and 24 deletions

View File

@ -289,7 +289,6 @@ HANDLE_AS_POD(data::CurrentControl)
HANDLE_AS_POD(data::Rates)
HANDLE_AS_POD(data::Segment)
HANDLE_AS_POD(MLimits)
HANDLE_AS_POD(PlyvmhRecord)
HANDLE_AS_POD(Tabdims)
HANDLE_AS_POD(TimeStampUTC::YMD)
HANDLE_AS_POD(Tuning)
@ -1056,11 +1055,6 @@ std::size_t packSize(const GuideRateConfig::GroupTarget& data,
packSize(data.target, comm);
}
std::size_t packSize(const PlyvmhTable& data, Dune::MPIHelper::MPICommunicator comm)
{
return packSize(static_cast<const std::vector<PlyvmhRecord>&>(data), comm);
}
////// pack routines
template<class T>
@ -2045,12 +2039,6 @@ void pack(const GuideRateConfig::GroupTarget& data,
pack(data.target, buffer, position, comm);
}
void pack(const PlyvmhTable& data, std::vector<char>& buffer, int& position,
Dune::MPIHelper::MPICommunicator comm)
{
pack(static_cast<const std::vector<PlyvmhRecord>&>(data), buffer, position, comm);
}
/// unpack routines
template<class T>
@ -3432,14 +3420,6 @@ void unpack(GuideRateConfig::GroupTarget& data,
unpack(data.target, buffer, position, comm);
}
void unpack(PlyvmhTable& data, std::vector<char>& buffer, int& position,
Dune::MPIHelper::MPICommunicator comm)
{
std::vector<PlyvmhRecord> pdata;
unpack(pdata, buffer, position, comm);
data = PlyvmhTable(pdata);
}
#define INSTANTIATE_PACK_VECTOR(...) \
template std::size_t packSize(const std::vector<__VA_ARGS__>& data, \
Dune::MPIHelper::MPICommunicator comm); \

View File

@ -68,8 +68,6 @@ class Location;
class MessageLimits;
class MLimits;
class OilVaporizationProperties;
class PlyvmhRecord;
class PlyvmhTable;
class RestartConfig;
class RestartSchedule;
class RFTConfig;
@ -449,8 +447,6 @@ ADD_PACK_PROTOTYPES(Location)
ADD_PACK_PROTOTYPES(MessageLimits)
ADD_PACK_PROTOTYPES(MLimits)
ADD_PACK_PROTOTYPES(OilVaporizationProperties)
ADD_PACK_PROTOTYPES(PlyvmhRecord)
ADD_PACK_PROTOTYPES(PlyvmhTable)
ADD_PACK_PROTOTYPES(RestartConfig)
ADD_PACK_PROTOTYPES(RestartKey)
ADD_PACK_PROTOTYPES(RestartSchedule)