From 5c690d8d75174d6b001be716aff83ed69e3aabfd Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Tue, 21 Dec 2004 21:13:09 +0000
Subject: [PATCH] forgot to add a copy of the simpl pointer in the global
 simplex tree

---
 Mesh/3D_Mesh_Netgen.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Mesh/3D_Mesh_Netgen.cpp b/Mesh/3D_Mesh_Netgen.cpp
index 2bf80623de..ba6d20e7a4 100644
--- a/Mesh/3D_Mesh_Netgen.cpp
+++ b/Mesh/3D_Mesh_Netgen.cpp
@@ -1,4 +1,4 @@
-// $Id: 3D_Mesh_Netgen.cpp,v 1.12 2004-12-08 20:01:21 geuzaine Exp $
+// $Id: 3D_Mesh_Netgen.cpp,v 1.13 2004-12-21 21:13:09 geuzaine Exp $
 //
 // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
 //
@@ -237,6 +237,8 @@ void Netgen::TransferVolumeMesh()
 				   vtable[tmp[2]-1], vtable[tmp[3]-1]);
     simp->iEnt = _vol->Num;
     Tree_Add(_vol->Simplexes, &simp);
+    // also add a cpoy in the global simplex tree
+    Tree_Add(THEM->Simplexes, &simp);
   }
   
   Free(vtable);
-- 
GitLab