mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
remove old serialization support for WellGuideRate
This commit is contained in:
@@ -654,15 +654,6 @@ std::size_t packSize(const WellPolymerProperties& data,
|
||||
packSize(data.m_skprpolytable, comm);
|
||||
}
|
||||
|
||||
std::size_t packSize(const Well::WellGuideRate& data,
|
||||
Dune::MPIHelper::MPICommunicator comm)
|
||||
{
|
||||
return packSize(data.available, comm) +
|
||||
packSize(data.guide_rate, comm) +
|
||||
packSize(data.guide_phase, comm) +
|
||||
packSize(data.scale_factor, comm);
|
||||
}
|
||||
|
||||
////// pack routines
|
||||
|
||||
template<class T>
|
||||
@@ -1276,16 +1267,6 @@ void pack(const WellPolymerProperties& data,
|
||||
pack(data.m_skprpolytable, buffer, position, comm);
|
||||
}
|
||||
|
||||
void pack(const Well::WellGuideRate& data,
|
||||
std::vector<char>& buffer, int& position,
|
||||
Dune::MPIHelper::MPICommunicator comm)
|
||||
{
|
||||
pack(data.available, buffer, position, comm);
|
||||
pack(data.guide_rate, buffer, position, comm);
|
||||
pack(data.guide_phase, buffer, position, comm);
|
||||
pack(data.scale_factor, buffer, position, comm);
|
||||
}
|
||||
|
||||
/// unpack routines
|
||||
|
||||
template<class T>
|
||||
@@ -2125,16 +2106,6 @@ void unpack(WellPolymerProperties& data,
|
||||
unpack(data.m_skprpolytable, buffer, position, comm);
|
||||
}
|
||||
|
||||
void unpack(Well::WellGuideRate& data,
|
||||
std::vector<char>& buffer, int& position,
|
||||
Dune::MPIHelper::MPICommunicator comm)
|
||||
{
|
||||
unpack(data.available, buffer, position, comm);
|
||||
unpack(data.guide_rate, buffer, position, comm);
|
||||
unpack(data.guide_phase, buffer, position, comm);
|
||||
unpack(data.scale_factor, buffer, position, comm);
|
||||
}
|
||||
|
||||
#define INSTANTIATE_PACK_VECTOR(...) \
|
||||
template std::size_t packSize(const std::vector<__VA_ARGS__>& data, \
|
||||
Dune::MPIHelper::MPICommunicator comm); \
|
||||
|
||||
@@ -392,7 +392,6 @@ ADD_PACK_PROTOTYPES(VFPInjTable)
|
||||
ADD_PACK_PROTOTYPES(VFPProdTable)
|
||||
ADD_PACK_PROTOTYPES(Well)
|
||||
ADD_PACK_PROTOTYPES(WellType)
|
||||
ADD_PACK_PROTOTYPES(Well::WellGuideRate)
|
||||
ADD_PACK_PROTOTYPES(Well::WellInjectionProperties)
|
||||
ADD_PACK_PROTOTYPES(Well::WellProductionProperties)
|
||||
ADD_PACK_PROTOTYPES(WellBrineProperties)
|
||||
|
||||
Reference in New Issue
Block a user