mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-19 16:32:56 -06:00
quell dune2.7+ warning
This commit is contained in:
parent
463a41d373
commit
a8ffe91841
@ -28,6 +28,7 @@
|
||||
#include <opm/grid/CpGrid.hpp>
|
||||
#include <opm/grid/polyhedralgrid.hh>
|
||||
|
||||
#include <dune/common/version.hh>
|
||||
#include <dune/grid/common/gridenums.hh>
|
||||
#include <dune/grid/common/mcmgmapper.hh>
|
||||
#if HAVE_DUNE_FEM
|
||||
@ -197,7 +198,11 @@ public:
|
||||
: sendMapper_(sendMapper), recvMapper_(recvMapper), elementIndices_(elementIndices)
|
||||
{}
|
||||
using DataType = int;
|
||||
#if DUNE_VERSION_NEWER(DUNE_COMMON, 2, 7)
|
||||
bool fixedSize(int /*dim*/, int /*codim*/)
|
||||
#else
|
||||
bool fixedsize(int /*dim*/, int /*codim*/)
|
||||
#endif
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -237,7 +242,11 @@ public:
|
||||
: mapper_(mapper), elementIndices_(elementIndices)
|
||||
{}
|
||||
using DataType = int;
|
||||
#if DUNE_VERSION_NEWER(DUNE_COMMON, 2, 7)
|
||||
bool fixedSize(int /*dim*/, int /*codim*/)
|
||||
#else
|
||||
bool fixedsize(int /*dim*/, int /*codim*/)
|
||||
#endif
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -39,7 +39,12 @@
|
||||
#include <opm/parser/eclipse/EclipseState/Schedule/SummaryState.hpp>
|
||||
#include <opm/parser/eclipse/EclipseState/SummaryConfig/SummaryConfig.hpp>
|
||||
|
||||
#include <dune/common/parallel/mpicollectivecommunication.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/common/parallel/mpihelper.hh>
|
||||
|
||||
namespace Opm {
|
||||
|
Loading…
Reference in New Issue
Block a user