Skip to content
Snippets Groups Projects
Commit 2ffcbbfc authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

test hanging nodes

parent 33e5eaa5
No related branches found
No related tags found
No related merge requests found
// $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 "Gmsh.h"
#include "Geo.h" #include "Geo.h"
...@@ -10,6 +10,9 @@ ...@@ -10,6 +10,9 @@
extern Context_T CTX; extern Context_T CTX;
//test for hanging nodes
//#define MOES
/* ------------------------------------------------------------------------ */ /* ------------------------------------------------------------------------ */
/* M S H F O R M A T */ /* M S H F O R M A T */
/* ------------------------------------------------------------------------ */ /* ------------------------------------------------------------------------ */
...@@ -111,7 +114,7 @@ void Read_Mesh_MSH (Mesh *M, FILE *File_GEO){ ...@@ -111,7 +114,7 @@ void Read_Mesh_MSH (Mesh *M, FILE *File_GEO){
Duplicates = Tree_Create (sizeof (Vertex *), comparePosition); Duplicates = Tree_Create (sizeof (Vertex *), comparePosition);
#ifdef MOES #ifdef MOES
Tree_T Duplicates2 = Tree_Create (sizeof (Vertex *), comparePosition); Tree_T *Duplicates2 = Tree_Create (sizeof (Vertex *), compareVertex);
#endif #endif
for (i_Element = 0 ; i_Element < Nbr_Elements ; i_Element++) { for (i_Element = 0 ; i_Element < Nbr_Elements ; i_Element++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment