remember search starting point in inside/outside marking after delaunay

This commit is contained in:
Matthias Hochsteger 2021-05-30 18:48:28 +02:00
parent 19176daa09
commit 073cbec108

View File

@ -1414,15 +1414,17 @@ namespace netgen
}
*/
int lowest_undefined_el = 1;
while (1)
{
int inside;
bool done = 1;
int i;
for (i = 1; i <= ne; i++)
for (i = lowest_undefined_el; i <= ne; i++)
if (!inner.Test(i) && !outer.Test(i))
{
lowest_undefined_el = i+1;
done = 0;
break;
}