From 3f28651e63d360bec6c453f29014947747a2f6b6 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Wed, 9 Apr 2025 11:39:10 +0200 Subject: [PATCH] Boundary layers - don't ignore edges on cylinder sides when smoothing growth vectors --- libsrc/meshing/boundarylayer_interpolate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/meshing/boundarylayer_interpolate.cpp b/libsrc/meshing/boundarylayer_interpolate.cpp index fb819cca..b3d3293f 100644 --- a/libsrc/meshing/boundarylayer_interpolate.cpp +++ b/libsrc/meshing/boundarylayer_interpolate.cpp @@ -139,7 +139,7 @@ void BoundaryLayerTool ::InterpolateGrowthVectors() faces.Append(sei); } - if (faces.Size() == 2) + if (faces.Size() == 2 && mesh[faces[0]].GetIndex() != mesh[faces[1]].GetIndex()) { auto n0 = getNormal(mesh[faces[0]]); auto n1 = getNormal(mesh[faces[1]]);