From 2bb11f4cb1046104437dd645750edb60178850fa Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Mon, 9 Sep 2019 17:02:50 +0200 Subject: [PATCH] Avoid parallel call of BuildBoundaryEdges() inside Mesh::CombineImprove() --- libsrc/meshing/improve3.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libsrc/meshing/improve3.cpp b/libsrc/meshing/improve3.cpp index 7eb121db..03ccc7c6 100644 --- a/libsrc/meshing/improve3.cpp +++ b/libsrc/meshing/improve3.cpp @@ -422,6 +422,8 @@ void MeshOptimize3d :: CombineImprove (Mesh & mesh, static Timer tbad("CalcBad"); // return CombineImproveSequential(mesh, goal); + + mesh.BoundaryEdge (1,2); // ensure the boundary-elements table is built int np = mesh.GetNP(); int ne = mesh.GetNE();