From 73826613153bcd8267d882138826a36ef1a3f863 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Fri, 21 Apr 2023 12:51:54 +0200 Subject: [PATCH] Fix surface mapping in BoundaryLayer3d --- libsrc/meshing/boundarylayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/meshing/boundarylayer.cpp b/libsrc/meshing/boundarylayer.cpp index ce837a08..41c68f7e 100644 --- a/libsrc/meshing/boundarylayer.cpp +++ b/libsrc/meshing/boundarylayer.cpp @@ -654,7 +654,7 @@ namespace netgen else point_fixed = true; } - if(point_moved && point_fixed) + if(point_moved && !moved_surfaces.Test(facei)) { int new_si = mesh.GetNFD()+1; const auto& fd = mesh.GetFaceDescriptor(facei);