Use different approach for fixing tet splitting

Revert changes in GetSurfaceElementsOfFace
This commit is contained in:
Bernd Schwarzenbacher 2016-05-09 15:30:14 +02:00
parent c5e2ce2d37
commit 00e9160821

View File

@ -4099,6 +4099,8 @@ namespace netgen
UpdateTopology(); UpdateTopology();
timestamp = NextTimeStamp(); timestamp = NextTimeStamp();
} }
RebuildSurfaceElementLists();
} }
void Mesh :: BuildElementSearchTree () void Mesh :: BuildElementSearchTree ()
@ -5024,6 +5026,7 @@ namespace netgen
static int timer = NgProfiler::CreateTimer ("GetSurfaceElementsOfFace"); static int timer = NgProfiler::CreateTimer ("GetSurfaceElementsOfFace");
NgProfiler::RegionTimer reg (timer); NgProfiler::RegionTimer reg (timer);
/*
sei.SetSize (0); sei.SetSize (0);
for (SurfaceElementIndex i = 0; i < GetNSE(); i++) for (SurfaceElementIndex i = 0; i < GetNSE(); i++)
{ {
@ -5033,6 +5036,7 @@ namespace netgen
sei.Append (i); sei.Append (i);
} }
} }
*/
/* Philippose - 01/10/2009 /* Philippose - 01/10/2009
Commented out the following lines, and activated the originally Commented out the following lines, and activated the originally
@ -5041,7 +5045,6 @@ namespace netgen
*/ */
// int size1 = sei.Size(); // int size1 = sei.Size();
/*
sei.SetSize(0); sei.SetSize(0);
SurfaceElementIndex si = facedecoding[facenr-1].firstelement; SurfaceElementIndex si = facedecoding[facenr-1].firstelement;
@ -5055,7 +5058,6 @@ namespace netgen
si = (*this)[si].next; si = (*this)[si].next;
} }
*/
/* /*
// *testout << "with list = " << endl << sei << endl; // *testout << "with list = " << endl << sei << endl;