face points need to have geominfo for face meshing (thx MrSmile)

This commit is contained in:
Christopher Lackner 2024-03-18 08:58:40 +01:00
parent 5ac80f21d8
commit 11e8914dd8

View File

@ -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;
} }