From 3ec73d69ce75f9f9f78151fbfe57fa8724c90398 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Sch=C3=B6berl?= Date: Fri, 27 Sep 2019 13:03:26 +0200 Subject: [PATCH] randomizing in Delaunay --- libsrc/meshing/delaunay.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libsrc/meshing/delaunay.cpp b/libsrc/meshing/delaunay.cpp index 01ed9dad..8ca05ac9 100644 --- a/libsrc/meshing/delaunay.cpp +++ b/libsrc/meshing/delaunay.cpp @@ -686,7 +686,8 @@ namespace netgen newel[3] = newpi; newels.Append (newel); - + /* + // only checking ??? Vec<3> v1 = mesh[face[1]] - mesh[face[0]]; Vec<3> v2 = mesh[face[2]] - mesh[face[0]]; Vec<3> n = Cross (v1, v2); @@ -709,6 +710,7 @@ namespace netgen << mesh.Point (face[1]) << " " << mesh.Point (face[2]) << endl; } + */ } } @@ -929,7 +931,7 @@ namespace netgen NgArray mixed(np); // int prims[] = { 11, 13, 17, 19, 23, 29, 31, 37 }; // int prims[] = { 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97 }; - int prims[] = { 211, 223, 227, 229, 233, 239, 241, 251, 257, 263 }; + int prims[] = { 211, 223, 227, 229, 233, 239, 241, 251, 257, 263 }; int prim; {