compress after 2d optimization

This commit is contained in:
Joachim Schöberl 2020-01-08 23:27:59 +01:00
parent 1aed53427f
commit 77d0fbfcd5

View File

@ -61,6 +61,7 @@ namespace netgen
cerr << "Optimization code " << optstr[j-1] << " not defined" << endl; cerr << "Optimization code " << optstr[j-1] << " not defined" << endl;
} }
} }
mesh.Compress(); // better: compress in individual steps, if necessary
if (secondorder) if (secondorder)
{ {
mesh.GetGeometry()->GetRefinement().MakeSecondOrder(mesh); mesh.GetGeometry()->GetRefinement().MakeSecondOrder(mesh);