mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
skip fixed points when checking for mixed mesh
This commit is contained in:
parent
0fc488e802
commit
c77da32463
@ -190,7 +190,12 @@ namespace netgen
|
|||||||
SurfaceElementIndex sei(i);
|
SurfaceElementIndex sei(i);
|
||||||
seia[i] = sei;
|
seia[i] = sei;
|
||||||
if (mesh[sei].GetNP() != 3)
|
if (mesh[sei].GetNP() != 3)
|
||||||
mixed = true;
|
{
|
||||||
|
const auto & sel = mesh[sei];
|
||||||
|
for(auto i : Range(sel.GetNP()))
|
||||||
|
if(mesh[sel[i]].Type() == INNERPOINT)
|
||||||
|
mixed = true;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user