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

[bugfix] Use correct integral type in the graph classes.

Parmetis has the option of using non-standard integral types
for the indices. In this case compilation failed. This is
fixed by using the type even for the graph representation
fed to metis/parmetis.

(cherry picked from commit 0ca78d5f)
Signed-off-by: Steffen Müthing's avatarSteffen Müthing <>
parent b1882eb1
......@@ -648,6 +648,15 @@ namespace Dune
return F::contains(pindex->local().attribute());
typedef idx_t idxtype;
#elif defined(METISNAMEL)
typedef int idxtype;
//typedef std::size_t idxtype;
typedef int idxtype;
class BaseEdgeFunctor
......@@ -772,7 +781,6 @@ namespace Dune
Dune::OwnerOverlapCopyCommunication<T1,T2>*& outcomm,
RedistributeInterface& redistInf,
bool verbose=false);
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