mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +05:00
face points need to have geominfo for face meshing (thx MrSmile)
This commit is contained in:
parent
5ac80f21d8
commit
11e8914dd8
@ -767,7 +767,10 @@ namespace netgen
|
|||||||
PointIndex pi = vert->nr + 1;
|
PointIndex pi = vert->nr + 1;
|
||||||
if(glob2loc[pi] == 0)
|
if(glob2loc[pi] == 0)
|
||||||
{
|
{
|
||||||
meshing.AddPoint(mesh[pi], pi);
|
auto gi = face.Project(mesh[pi]);
|
||||||
|
MultiPointGeomInfo mgi;
|
||||||
|
mgi.AddPointGeomInfo(gi);
|
||||||
|
meshing.AddPoint(mesh[pi], pi, &mgi);
|
||||||
cntp++;
|
cntp++;
|
||||||
glob2loc[pi] = cntp;
|
glob2loc[pi] = cntp;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user