aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrégory Salvan <apieum@gmail.com>2016-02-12 19:08:41 +0100
committerJustin Lecher <jlec@gentoo.org>2016-02-22 09:36:31 +0100
commitb4b71a0c2ce78b32be5e264fe2585b27f7b3c487 (patch)
tree6998775ba51a08cc4720f8d62eb8511bbb442223 /sci-mathematics/netgen
parentadded manifest for netgen-5.3.1 (diff)
downloadsci-b4b71a0c2ce78b32be5e264fe2585b27f7b3c487.tar.gz
sci-b4b71a0c2ce78b32be5e264fe2585b27f7b3c487.tar.bz2
sci-b4b71a0c2ce78b32be5e264fe2585b27f7b3c487.zip
added the right patch for metis numflag
Diffstat (limited to 'sci-mathematics/netgen')
-rw-r--r--sci-mathematics/netgen/files/netgen-5.x-metis-numflag.patch21
1 files changed, 10 insertions, 11 deletions
diff --git a/sci-mathematics/netgen/files/netgen-5.x-metis-numflag.patch b/sci-mathematics/netgen/files/netgen-5.x-metis-numflag.patch
index 4c323041c..9e5ba88a1 100644
--- a/sci-mathematics/netgen/files/netgen-5.x-metis-numflag.patch
+++ b/sci-mathematics/netgen/files/netgen-5.x-metis-numflag.patch
@@ -1,21 +1,20 @@
-diff -uwrN ./netgen-5.3.1/libsrc/meshing/parallelmesh.cpp netgen-5.3.1.ORIG/libsrc/meshing/parallelmesh.cpp
---- ./netgen-5.3.1/libsrc/meshing/parallelmesh.cpp 2016-02-11 19:12:14.474185736 +0100
-+++ netgen-5.3.1.ORIG/libsrc/meshing/parallelmesh.cpp 2014-08-29 11:54:05.000000000 +0200
+--- libsrc/meshing/parallelmesh.cpp 2014-08-29 11:54:05.000000000 +0200
++++ libsrc/meshing/parallelmesh.cpp 2016-02-11 19:12:14.474185736 +0100
@@ -1318,7 +1318,7 @@
idxtype *xadj, * adjacency, *v_weights = NULL, *e_weights = NULL;
-
+
int weightflag = 0;
-- int numflag = 0;
-+ // int numflag = 0;
+- // int numflag = 0;
++ int numflag = 0;
int nparts = ntasks - 1;
-
+
int options[5];
@@ -1485,7 +1485,7 @@
idxtype *v_weights = NULL, *e_weights = NULL;
-
+
int weightflag = 0;
-- int numflag = 0;
-+ // int numflag = 0;
+- // int numflag = 0;
++ int numflag = 0;
int nparts = ntasks - 1;
-
+
int edgecut;