mirror of
https://github.com/NGSolve/netgen.git
synced 2025-02-11 21:03:07 +05:00
Fix range exception in boundarylayer limiter
This commit is contained in:
parent
20196cd8e9
commit
6f574ec191
@ -356,6 +356,8 @@ struct GrowthVectorLimiter
|
|||||||
for (SurfaceElementIndex sei : mesh.SurfaceElements().Range())
|
for (SurfaceElementIndex sei : mesh.SurfaceElements().Range())
|
||||||
{
|
{
|
||||||
auto sel = mesh[sei];
|
auto sel = mesh[sei];
|
||||||
|
if (sei >= tool.nse)
|
||||||
|
continue;
|
||||||
if (!tool.moved_surfaces[sel.GetIndex()])
|
if (!tool.moved_surfaces[sel.GetIndex()])
|
||||||
continue;
|
continue;
|
||||||
if (sel.GetNP() == 4)
|
if (sel.GetNP() == 4)
|
||||||
|
Loading…
Reference in New Issue
Block a user