From d1228b6ce985473f0405d72ee1b5db7ab2801451 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Thu, 6 Feb 2025 19:15:59 +0100 Subject: [PATCH] Less tolerance for smoothing of boundarylayer vectors --- libsrc/meshing/boundarylayer_interpolate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsrc/meshing/boundarylayer_interpolate.cpp b/libsrc/meshing/boundarylayer_interpolate.cpp index e7ac6c08..9933e826 100644 --- a/libsrc/meshing/boundarylayer_interpolate.cpp +++ b/libsrc/meshing/boundarylayer_interpolate.cpp @@ -143,7 +143,7 @@ void BoundaryLayerTool ::InterpolateGrowthVectors() { auto n0 = getNormal(mesh[faces[0]]); auto n1 = getNormal(mesh[faces[1]]); - if (n0 * n1 < 0.9) + if (n0 * n1 < 0.99) no_angles = false; } else @@ -170,7 +170,7 @@ void BoundaryLayerTool ::InterpolateGrowthVectors() n.Normalize(); bool is_corner = false; for (auto si : p2sel[pi]) - if (getNormal(mesh[si]) * n < 0.9) + if (getNormal(mesh[si]) * n < 0.99) is_corner = true; if (!is_corner) point_types[pi] = SURFACEPOINT;