From 2ffcbbfca71ee767a3b163697935e6d4d9efc1a5 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Tue, 14 Aug 2001 08:03:34 +0000
Subject: [PATCH] test hanging nodes

---
 Mesh/Read_Mesh.cpp | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/Mesh/Read_Mesh.cpp b/Mesh/Read_Mesh.cpp
index ed35c76a18..9b6a280d59 100644
--- a/Mesh/Read_Mesh.cpp
+++ b/Mesh/Read_Mesh.cpp
@@ -1,4 +1,4 @@
-// $Id: Read_Mesh.cpp,v 1.24 2001-08-13 20:05:42 geuzaine Exp $
+// $Id: Read_Mesh.cpp,v 1.25 2001-08-14 08:03:34 geuzaine Exp $
 
 #include "Gmsh.h"
 #include "Geo.h"
@@ -10,6 +10,9 @@
 
 extern Context_T CTX;
 
+//test for hanging nodes
+//#define MOES
+
 /* ------------------------------------------------------------------------ */
 /*  M S H    F O R M A T                                                    */
 /* ------------------------------------------------------------------------ */
@@ -111,7 +114,7 @@ void Read_Mesh_MSH (Mesh *M, FILE *File_GEO){
 	Duplicates = Tree_Create (sizeof (Vertex *), comparePosition);
 
 #ifdef MOES
-      Tree_T Duplicates2 = Tree_Create (sizeof (Vertex *), comparePosition);
+      Tree_T *Duplicates2 = Tree_Create (sizeof (Vertex *), compareVertex);
 #endif
 
       for (i_Element = 0 ; i_Element < Nbr_Elements ; i_Element++) {
-- 
GitLab