Make code compile with dune trunk version (ie 3.0-git). This should include support for

dune 2.3.
This commit is contained in:
Robert Kloefkorn 2014-08-06 14:00:54 +02:00
parent 12c9ef2b09
commit f61eab46df

View File

@ -30,11 +30,19 @@
// MPI header
#if HAVE_MPI
#include <mpi.h>
#include <dune/common/version.hh>
#include <dune/common/parallel/indexset.hh>
#include <dune/common/parallel/communicator.hh>
#include <dune/common/parallel/remoteindices.hh>
#include <dune/common/version.hh>
#if DUNE_VERSION_NEWER(DUNE_COMMON, 2, 3)
#include <dune/common/parallel/mpicollectivecommunication.hh>
#include <dune/common/parallel/collectivecommunication.hh>
#else
#include <dune/common/mpicollectivecommunication.hh>
#include <dune/common/collectivecommunication.hh>
#endif
#include <dune/istl/owneroverlapcopy.hh>
#include <opm/core/linalg/ParallelIstlInformation.hpp>
#else