From 262fec46016eeb9dd3cd282dd6dd7c60e494648a Mon Sep 17 00:00:00 2001 From: "mhochsteger@cerbsim.com" Date: Mon, 7 Mar 2022 20:58:11 +0100 Subject: [PATCH] CombineImprove2D - project only for edge points --- libsrc/meshing/improve2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/meshing/improve2.cpp b/libsrc/meshing/improve2.cpp index 817c6c21..c0431746 100644 --- a/libsrc/meshing/improve2.cpp +++ b/libsrc/meshing/improve2.cpp @@ -477,7 +477,7 @@ namespace netgen for (int l = 0; l < 3; l++) { auto normal = normals[el[l]]; - if(fixed[el[l]]) + if(mesh[el[l]].Type() != SURFACEPOINT) { // point possibly on edge -> multiple normal vectors (for each surface), need to calculate it to be sure const int surfnr = mesh.GetFaceDescriptor (el.GetIndex()).SurfNr();