Commit cf48329c authored by Robert K's avatar Robert K Committed by Steffen Müthing

[release][repartition][bugfix] correct implementation of usage of ParMetis::idx_t for

different versions of ParMetis.

(cherry picked from commit b14c2447)
Signed-off-by: Steffen Müthing's avatarSteffen Müthing <muething@dune-project.org>
parent 9fe002fe
......@@ -648,15 +648,6 @@ namespace Dune
return F::contains(pindex->local().attribute());
}
#if HAVE_PARMETIS
#if PARMETIS_MAJOR_VERSION > 3
typedef idx_t idxtype;
#elif defined(METISNAMEL)
typedef int idxtype;
#else
//typedef std::size_t idxtype;
typedef int idxtype;
#endif
class BaseEdgeFunctor
{
......@@ -781,6 +772,7 @@ namespace Dune
Dune::OwnerOverlapCopyCommunication<T1,T2>*& outcomm,
RedistributeInterface& redistInf,
bool verbose=false);
#if HAVE_PARMETIS
#ifndef METIS_VER_MAJOR
extern "C"
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment