From 00e91608213a61bb2bf275e07d334fc029b0da3a Mon Sep 17 00:00:00 2001 From: Bernd Schwarzenbacher Date: Mon, 9 May 2016 15:30:14 +0200 Subject: [PATCH] Use different approach for fixing tet splitting Revert changes in GetSurfaceElementsOfFace --- libsrc/meshing/meshclass.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libsrc/meshing/meshclass.cpp b/libsrc/meshing/meshclass.cpp index 87017b04..892a5275 100644 --- a/libsrc/meshing/meshclass.cpp +++ b/libsrc/meshing/meshclass.cpp @@ -4099,6 +4099,8 @@ namespace netgen UpdateTopology(); timestamp = NextTimeStamp(); } + + RebuildSurfaceElementLists(); } void Mesh :: BuildElementSearchTree () @@ -5024,6 +5026,7 @@ namespace netgen static int timer = NgProfiler::CreateTimer ("GetSurfaceElementsOfFace"); NgProfiler::RegionTimer reg (timer); + /* sei.SetSize (0); for (SurfaceElementIndex i = 0; i < GetNSE(); i++) { @@ -5033,6 +5036,7 @@ namespace netgen sei.Append (i); } } + */ /* Philippose - 01/10/2009 Commented out the following lines, and activated the originally @@ -5041,7 +5045,6 @@ namespace netgen */ // int size1 = sei.Size(); - /* sei.SetSize(0); SurfaceElementIndex si = facedecoding[facenr-1].firstelement; @@ -5055,7 +5058,6 @@ namespace netgen si = (*this)[si].next; } - */ /* // *testout << "with list = " << endl << sei << endl;