Boundary layers - don't ignore edges on cylinder sides when smoothing growth vectors

This commit is contained in:
Matthias Hochsteger 2025-04-09 11:39:10 +02:00
parent 5a66cbee72
commit 3f28651e63

View File

@ -139,7 +139,7 @@ void BoundaryLayerTool ::InterpolateGrowthVectors()
faces.Append(sei); 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 n0 = getNormal(mesh[faces[0]]);
auto n1 = getNormal(mesh[faces[1]]); auto n1 = getNormal(mesh[faces[1]]);