Merge branch 'fix_badness_in_combineimprove2d' into 'master'

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

See merge request jschoeberl/netgen!384
This commit is contained in:
Joachim Schöberl 2021-05-14 16:15:03 +00:00
commit 14570f2bfb
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