Use sum of badnesses and not average value in CombineImprove in 2D

This commit is contained in:
Matthias Hochsteger 2021-05-14 16:53:58 +02:00
parent 7baea9801e
commit f7a08df155
2 changed files with 1003 additions and 1005 deletions

View File

@ -453,7 +453,6 @@ namespace netgen
nv, -1, loch);
illegal1 += 1-mesh.LegalTrig(el);
}
bad1 /= (hasonepi.Size()+hasbothpi.Size());
double bad2 = 0;
for (int k = 0; k < hasonepi.Size(); k++)
@ -483,7 +482,6 @@ namespace netgen
illegal2 += 1-mesh.LegalTrig(el);
}
bad2 /= hasonepi.Size();
if (debugflag)
{

File diff suppressed because it is too large Load Diff