From 11e8914dd89ec8cf688571c4882c810fb91ad5d1 Mon Sep 17 00:00:00 2001 From: Christopher Lackner Date: Mon, 18 Mar 2024 08:58:40 +0100 Subject: [PATCH] face points need to have geominfo for face meshing (thx MrSmile) --- libsrc/meshing/basegeom.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libsrc/meshing/basegeom.cpp b/libsrc/meshing/basegeom.cpp index 6ece1891..c9902f71 100644 --- a/libsrc/meshing/basegeom.cpp +++ b/libsrc/meshing/basegeom.cpp @@ -767,7 +767,10 @@ namespace netgen PointIndex pi = vert->nr + 1; 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++; glob2loc[pi] = cntp; }