mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
Loop over edges in CombineImprove()
This commit is contained in:
parent
9fd4970614
commit
294fbb0e6f
@ -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
Loading…
Reference in New Issue
Block a user