mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-11-02 20:30:55 -06:00
minimum dune version required is now 2.7
This commit is contained in:
1 parent
5309ba22f7
commit
f2983ac6af
29 files changed
+14
-204
No files matched your search
@@ -31,12 +31,7 @@
|
||||
#include <dune/common/unused.hh>
|
||||
#include <dune/common/parallel/indexset.hh>
|
||||
#include <dune/common/parallel/plocalindex.hh>
|
||||
#include <dune/common/version.hh>
|
||||
#if DUNE_VERSION_NEWER(DUNE_COMMON, 2, 7)
|
||||
#include <dune/common/parallel/communication.hh>
|
||||
#else
|
||||
#include <dune/common/parallel/collectivecommunication.hh>
|
||||
#endif
|
||||
#include <dune/istl/bcrsmatrix.hh>
|
||||
#include <dune/istl/owneroverlapcopy.hh>
|
||||
#include <dune/istl/schwarz.hh>
|
||||
@@ -277,11 +272,7 @@ void runBlackoilAmgLaplace()
|
||||
typedef Dune::OwnerOverlapCopyCommunication<GlobalId> Communication;
|
||||
typedef Dune::OverlappingSchwarzOperator<BCRSMat,Vector,Vector,Communication> Operator;
|
||||
|
||||
#if DUNE_VERSION_NEWER(DUNE_COMMON, 2, 7)
|
||||
const auto& ccomm = Dune::MPIHelper::getCommunication();
|
||||
#else
|
||||
const auto& ccomm = Dune::MPIHelper::getCollectiveCommunication();
|
||||
#endif
|
||||
|
||||
Communication comm(ccomm);
|
||||
int n=0;
|
||||
|
||||
Reference in new issue
Block a user