mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-13 22:50:33 +05:00
Only check for self-intersection on moved boundaries
This commit is contained in:
parent
54e5de4395
commit
72e25d45a4
@ -308,10 +308,12 @@ struct GrowthVectorLimiter
|
|||||||
for (SurfaceElementIndex sei : mesh.SurfaceElements().Range())
|
for (SurfaceElementIndex sei : mesh.SurfaceElements().Range())
|
||||||
{
|
{
|
||||||
auto sel = mesh[sei];
|
auto sel = mesh[sei];
|
||||||
const auto& fd = mesh.GetFaceDescriptor(sel.GetIndex());
|
if (!tool.moved_surfaces[sel.GetIndex()])
|
||||||
|
continue;
|
||||||
if (sel.GetNP() == 4)
|
if (sel.GetNP() == 4)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
const auto& fd = mesh.GetFaceDescriptor(sel.GetIndex());
|
||||||
auto np = sel.GetNP();
|
auto np = sel.GetNP();
|
||||||
|
|
||||||
double shift = 1.0;
|
double shift = 1.0;
|
||||||
|
Loading…
Reference in New Issue
Block a user