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())
|
||||
{
|
||||
auto sel = mesh[sei];
|
||||
const auto& fd = mesh.GetFaceDescriptor(sel.GetIndex());
|
||||
if (!tool.moved_surfaces[sel.GetIndex()])
|
||||
continue;
|
||||
if (sel.GetNP() == 4)
|
||||
continue;
|
||||
|
||||
const auto& fd = mesh.GetFaceDescriptor(sel.GetIndex());
|
||||
auto np = sel.GetNP();
|
||||
|
||||
double shift = 1.0;
|
||||
|
Loading…
Reference in New Issue
Block a user