From 1a6f52dfc40c2a8f3dd68d2565f4d2d3c8a920ec Mon Sep 17 00:00:00 2001 From: "Henry v. Wahl" Date: Wed, 22 Mar 2023 09:32:58 +0100 Subject: [PATCH] in two dimensions, elements are connected if they share two vertices --- libsrc/meshing/parallelmesh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/meshing/parallelmesh.cpp b/libsrc/meshing/parallelmesh.cpp index 8c2f8892..185c9eab 100644 --- a/libsrc/meshing/parallelmesh.cpp +++ b/libsrc/meshing/parallelmesh.cpp @@ -1337,7 +1337,7 @@ namespace netgen idxtype edgecut; - idxtype ncommon = 3; + idxtype ncommon = GetDimension(); PrintMessage (3, "metis start"); static Timer tm("metis library");