From 77d0fbfcd5e5a0e4ce00322f60c042b371354321 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Sch=C3=B6berl?= Date: Wed, 8 Jan 2020 23:27:59 +0100 Subject: [PATCH] compress after 2d optimization --- libsrc/meshing/meshfunc2d.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libsrc/meshing/meshfunc2d.cpp b/libsrc/meshing/meshfunc2d.cpp index 90ac9b68..88955a36 100644 --- a/libsrc/meshing/meshfunc2d.cpp +++ b/libsrc/meshing/meshfunc2d.cpp @@ -61,6 +61,7 @@ namespace netgen cerr << "Optimization code " << optstr[j-1] << " not defined" << endl; } } + mesh.Compress(); // better: compress in individual steps, if necessary if (secondorder) { mesh.GetGeometry()->GetRefinement().MakeSecondOrder(mesh);