mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-27 09:40:59 -06:00
remove old serialization support for DeckRecord
This commit is contained in:
parent
d9ab0e7522
commit
96cadcc43a
@ -655,12 +655,6 @@ std::size_t packSize(const Group& data,
|
||||
packSize(data.productionProperties(), comm);
|
||||
}
|
||||
|
||||
std::size_t packSize(const DeckRecord& data,
|
||||
Dune::MPIHelper::MPICommunicator comm)
|
||||
{
|
||||
return packSize(data.getItems(), comm);
|
||||
}
|
||||
|
||||
std::size_t packSize(const Location& data,
|
||||
Dune::MPIHelper::MPICommunicator comm)
|
||||
{
|
||||
@ -1361,13 +1355,6 @@ void pack(const Group& data,
|
||||
pack(data.productionProperties(), buffer, position, comm);
|
||||
}
|
||||
|
||||
void pack(const DeckRecord& data,
|
||||
std::vector<char>& buffer, int& position,
|
||||
Dune::MPIHelper::MPICommunicator comm)
|
||||
{
|
||||
pack(data.getItems(), buffer, position, comm);
|
||||
}
|
||||
|
||||
void pack(const Location& data,
|
||||
std::vector<char>& buffer, int& position,
|
||||
Dune::MPIHelper::MPICommunicator comm)
|
||||
@ -2305,15 +2292,6 @@ void unpack(Group& data,
|
||||
injection, production);
|
||||
}
|
||||
|
||||
void unpack(DeckRecord& data,
|
||||
std::vector<char>& buffer, int& position,
|
||||
Dune::MPIHelper::MPICommunicator comm)
|
||||
{
|
||||
std::vector<DeckItem> items;
|
||||
unpack(items, buffer, position, comm);
|
||||
data = DeckRecord(std::move(items));
|
||||
}
|
||||
|
||||
void unpack(Location& data,
|
||||
std::vector<char>& buffer, int& position,
|
||||
Dune::MPIHelper::MPICommunicator comm)
|
||||
|
@ -52,7 +52,6 @@ namespace Action {
|
||||
}
|
||||
|
||||
class Connection;
|
||||
class DeckRecord;
|
||||
class Dimension;
|
||||
template<class T> class IOrderSet;
|
||||
class Location;
|
||||
@ -405,7 +404,6 @@ ADD_PACK_PROTOTYPES(data::Well)
|
||||
ADD_PACK_PROTOTYPES(data::WellRates)
|
||||
ADD_PACK_PROTOTYPES(Deck)
|
||||
ADD_PACK_PROTOTYPES(DeckKeyword)
|
||||
ADD_PACK_PROTOTYPES(DeckRecord)
|
||||
ADD_PACK_PROTOTYPES(Dimension)
|
||||
ADD_PACK_PROTOTYPES(Group)
|
||||
ADD_PACK_PROTOTYPES(Group::GroupInjectionProperties)
|
||||
|
@ -1939,7 +1939,7 @@ BOOST_AUTO_TEST_CASE(DeckRecord)
|
||||
{
|
||||
#ifdef HAVE_MPI
|
||||
Opm::DeckRecord val1 = getDeckRecord();
|
||||
auto val2 = PackUnpack(val1);
|
||||
auto val2 = PackUnpack2(val1);
|
||||
DO_CHECKS(DeckRecord)
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user