aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics/netgen/files/netgen-5.x-parallelmetis4-fix.patch')
-rw-r--r--sci-mathematics/netgen/files/netgen-5.x-parallelmetis4-fix.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/sci-mathematics/netgen/files/netgen-5.x-parallelmetis4-fix.patch b/sci-mathematics/netgen/files/netgen-5.x-parallelmetis4-fix.patch
deleted file mode 100644
index 0170fb8c3..000000000
--- a/sci-mathematics/netgen/files/netgen-5.x-parallelmetis4-fix.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -uwrN -x.git netgen-5.3.1/libsrc/meshing/parallelmesh.cpp netgen/libsrc/meshing/parallelmesh.cpp
---- netgen-5.3.1/libsrc/meshing/parallelmesh.cpp 2016-02-22 00:22:28.885598956 +0100
-+++ netgen/libsrc/meshing/parallelmesh.cpp 2016-02-22 00:46:17.030638283 +0100
-@@ -962,10 +962,15 @@
- }
-
-
--#ifdef METIS5
-+#ifdef METIS
- void Mesh :: ParallelMetis (Array<int> & volume_weights , Array<int> & surface_weights, Array<int> & segment_weights)
- {
-+
-+ #ifdef METIS5
- PrintMessage (3, "call metis 5 with weights ...");
-+ #else
-+ PrintMessage (3, "call metis 4 with weights ...");
-+ #endif
-
- // cout << "segment_weights " << segment_weights << endl;
- // cout << "surface_weights " << surface_weights << endl;
-@@ -1034,9 +1039,15 @@
-
-
- metis::idx_t ncommon = 3;
-+ #ifdef METIS5
- METIS_PartMeshDual (&ne, &nn, &eptr[0], &eind[0], &nwgt[0], NULL, &ncommon, &nparts,
- NULL, NULL,
- &edgecut, &epart[0], &npart[0]);
-+ #else
-+ int numflag = 0;
-+ METIS_PartMeshDual (&ne, &nn, &eptr[0], &eind[0], &numflag, &nparts,
-+ &edgecut, &epart[0], &npart[0]);
-+ #endif
- /*
- METIS_PartMeshNodal (&ne, &nn, &eptr[0], &eind[0], NULL, NULL, &nparts,
- NULL, NULL,