remove old mpi serialization support for Actdims

This commit is contained in:
Arne Morten Kvarving 2020-03-13 12:51:04 +01:00
parent a701c9267e
commit 00da8bcaaf
3 changed files with 1 additions and 5 deletions

View File

@ -334,7 +334,6 @@ std::size_t packSize(const std::array<T,N>& data, Dune::MPIHelper::MPICommunicat
return N*packSize(data[0], comm); return N*packSize(data[0], comm);
} }
HANDLE_AS_POD(Actdims)
HANDLE_AS_POD(Aqudims) HANDLE_AS_POD(Aqudims)
HANDLE_AS_POD(data::Connection) HANDLE_AS_POD(data::Connection)
HANDLE_AS_POD(data::CurrentControl) HANDLE_AS_POD(data::CurrentControl)

View File

@ -55,8 +55,6 @@
namespace Opm namespace Opm
{ {
class Actdims;
namespace Action { namespace Action {
class Actions; class Actions;
class ActionX; class ActionX;
@ -469,7 +467,6 @@ void unpack(char* str, std::size_t length, std::vector<char>& buffer, int& posit
void unpack(T& data, std::vector<char>& buffer, int& position, \ void unpack(T& data, std::vector<char>& buffer, int& position, \
Dune::MPIHelper::MPICommunicator comm); Dune::MPIHelper::MPICommunicator comm);
ADD_PACK_PROTOTYPES(Actdims)
ADD_PACK_PROTOTYPES(Action::Actions) ADD_PACK_PROTOTYPES(Action::Actions)
ADD_PACK_PROTOTYPES(Action::ActionX) ADD_PACK_PROTOTYPES(Action::ActionX)
ADD_PACK_PROTOTYPES(Action::AST) ADD_PACK_PROTOTYPES(Action::AST)

View File

@ -981,7 +981,7 @@ BOOST_AUTO_TEST_CASE(Actdims)
{ {
#if HAVE_MPI #if HAVE_MPI
Opm::Actdims val1(1,2,3,4); Opm::Actdims val1(1,2,3,4);
auto val2 = PackUnpack(val1); auto val2 = PackUnpack2(val1);
DO_CHECKS(Actdims) DO_CHECKS(Actdims)
#endif #endif
} }