Fix range exception in boundarylayer limiter

This commit is contained in:
Matthias Hochsteger 2025-01-31 13:06:44 +01:00
parent 20196cd8e9
commit 6f574ec191

View File

@ -356,6 +356,8 @@ struct GrowthVectorLimiter
for (SurfaceElementIndex sei : mesh.SurfaceElements().Range())
{
auto sel = mesh[sei];
if (sei >= tool.nse)
continue;
if (!tool.moved_surfaces[sel.GetIndex()])
continue;
if (sel.GetNP() == 4)