Skip to content
Snippets Groups Projects
Commit cf48329c authored by Robert K's avatar Robert K Committed by Steffen Müthing
Browse files

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

different versions of ParMetis.

(cherry picked from commit b14c2447)
Signed-off-by: default avatarSteffen Müthing <muething@dune-project.org>
parent 9fe002fe
No related branches found
No related tags found
No related merge requests found
......@@ -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"
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment