diff --git a/libsrc/meshing/boundarylayer_limiter.hpp b/libsrc/meshing/boundarylayer_limiter.hpp index 83adc226..95ba9d9e 100644 --- a/libsrc/meshing/boundarylayer_limiter.hpp +++ b/libsrc/meshing/boundarylayer_limiter.hpp @@ -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)