Merge branch 'continue_if_element_deleted' into 'master'

continue if element deleted in inner loop

See merge request jschoeberl/netgen!205
This commit is contained in:
Joachim Schöberl 2019-08-19 15:16:39 +00:00
commit d9897fce99

View File

@ -544,10 +544,10 @@ namespace netgen
{
SurfaceElementIndex sei = seia[i];
Element2d & elem = mesh[sei];
if (elem.IsDeleted()) continue;
for (int j = 0; j < 3; j++)
{
if (elem.IsDeleted()) continue;
PointIndex pi1 = elem[j];
PointIndex pi2 = elem[(j+1) % 3];