minimum dune version required is now 2.7

This commit is contained in:
Arne Morten Kvarving
2023-02-27 09:39:25 +01:00
parent 5309ba22f7
commit f2983ac6af
29 changed files with 14 additions and 204 deletions

View File

@@ -144,11 +144,7 @@
template<class T>
std::tuple<T,int,int> PackUnpack(T& in)
{
#if DUNE_VERSION_NEWER(DUNE_COMMON, 2, 7)
const auto& comm = Dune::MPIHelper::getCommunication();
#else
const auto& comm = Dune::MPIHelper::getCollectiveCommunication();
#endif
Opm::EclMpiSerializer ser(comm);
ser.pack(in);