mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-26 04:40:34 +05:00
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:
commit
d9897fce99
@ -544,10 +544,10 @@ namespace netgen
|
|||||||
{
|
{
|
||||||
SurfaceElementIndex sei = seia[i];
|
SurfaceElementIndex sei = seia[i];
|
||||||
Element2d & elem = mesh[sei];
|
Element2d & elem = mesh[sei];
|
||||||
if (elem.IsDeleted()) continue;
|
|
||||||
|
|
||||||
for (int j = 0; j < 3; j++)
|
for (int j = 0; j < 3; j++)
|
||||||
{
|
{
|
||||||
|
if (elem.IsDeleted()) continue;
|
||||||
PointIndex pi1 = elem[j];
|
PointIndex pi1 = elem[j];
|
||||||
PointIndex pi2 = elem[(j+1) % 3];
|
PointIndex pi2 = elem[(j+1) % 3];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user