optimize occ surfaces individually again, update test results

This commit is contained in:
mhochsteger@cerbsim.com 2022-03-02 15:42:44 +01:00
parent c6c8f52878
commit d2348a7651
2 changed files with 8 additions and 7 deletions

View File

@ -980,10 +980,11 @@ namespace netgen
static Timer timer_opt2d("Optimization 2D"); static Timer timer_opt2d("Optimization 2D");
RegionTimer reg(timer_opt2d); RegionTimer reg(timer_opt2d);
auto meshopt = MeshOptimize2d(mesh); auto meshopt = MeshOptimize2d(mesh);
meshopt.SetFaceIndex(0);
for(auto i : Range(mparam.optsteps2d)) for(auto i : Range(mparam.optsteps2d))
for(auto k : Range(mesh.GetNFD()))
{ {
PrintMessage(3, "Optimization step ", i); PrintMessage(3, "Optimization step ", i);
meshopt.SetFaceIndex(k+1);
int innerstep = 0; int innerstep = 0;
for(auto optstep : mparam.optimize2d) for(auto optstep : mparam.optimize2d)
{ {

View File

@ -2201,14 +2201,14 @@
167.24 167.24
], ],
"angles_trig": [ "angles_trig": [
5.3919, 3.9448,
142.3 143.04
], ],
"ne1d": 1554, "ne1d": 1554,
"ne2d": 5518, "ne2d": 5530,
"ne3d": 29010, "ne3d": 29511,
"quality_histogram": "[2, 6, 12, 5, 20, 55, 52, 52, 80, 146, 258, 556, 1098, 2034, 3416, 4992, 5737, 5534, 3865, 1090]", "quality_histogram": "[2, 6, 12, 5, 20, 52, 52, 56, 85, 141, 254, 536, 1021, 2012, 3536, 4929, 5924, 5742, 3922, 1204]",
"total_badness": 37302.68918 "total_badness": 37843.843561
}, },
{ {
"angles_tet": [ "angles_tet": [