Loop over edges in CombineImprove()

This commit is contained in:
Matthias Hochsteger 2019-10-14 14:04:10 +02:00
parent 9fd4970614
commit 294fbb0e6f
2 changed files with 341 additions and 343 deletions

View File

@ -454,16 +454,11 @@ namespace netgen
timerstart.Stop();
for (int i = 0; i < seia.Size(); i++)
for (auto e : edges)
{
SurfaceElementIndex sei = seia[i];
Element2d & elem = mesh[sei];
auto [pi1, pi2] = e;
for (int j = 0; j < 3; j++)
{
if (elem.IsDeleted()) continue;
PointIndex pi1 = elem[j];
PointIndex pi2 = elem[(j+1) % 3];
/*
if (pi1 < PointIndex::BASE ||
@ -534,6 +529,9 @@ namespace netgen
}
}
if(hasbothpi.Size()==0)
continue;
Element2d & hel = mesh[hasbothpi[0]];
for (int k = 0; k < 3; k++)

File diff suppressed because it is too large Load Diff