mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 04:50:34 +05:00
CombineImprove2D - project only for edge points
This commit is contained in:
parent
0a99c169b6
commit
262fec4601
@ -477,7 +477,7 @@ namespace netgen
|
||||
for (int l = 0; l < 3; l++)
|
||||
{
|
||||
auto normal = normals[el[l]];
|
||||
if(fixed[el[l]])
|
||||
if(mesh[el[l]].Type() != SURFACEPOINT)
|
||||
{
|
||||
// point possibly on edge -> multiple normal vectors (for each surface), need to calculate it to be sure
|
||||
const int surfnr = mesh.GetFaceDescriptor (el.GetIndex()).SurfNr();
|
||||
|
Loading…
Reference in New Issue
Block a user