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

Rename Mesh/2D_Mesh_Shewchuk.cpp -> Mesh/2D_Mesh_Triangle.cpp
parent 8d7207a3
No related branches found
No related tags found
No related merge requests found
// $Id: 2D_Mesh_Shewchuk.cpp,v 1.11 2003-01-23 20:19:21 geuzaine Exp $ // $Id: 2D_Mesh_Triangle.cpp,v 1.1 2003-02-11 03:14:51 geuzaine Exp $
// //
// Copyright (C) 1997 - 2003 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997 - 2003 C. Geuzaine, J.-F. Remacle
// //
...@@ -24,6 +24,15 @@ ...@@ -24,6 +24,15 @@
#include "Numeric.h" #include "Numeric.h"
#include "Context.h" #include "Context.h"
#if !defined(HAVE_TRIANGLE)
int Mesh_Shewchuk(Surface *s){
Msg(GERROR, "Triangle is not compiled in this version of Gmsh");
return 1;
}
#else
#define ANSI_DECLARATORS #define ANSI_DECLARATORS
#define REAL double #define REAL double
...@@ -227,3 +236,5 @@ int Mesh_Shewchuk(Surface *s){ ...@@ -227,3 +236,5 @@ int Mesh_Shewchuk(Surface *s){
return 0; return 0;
} }
#endif // !HAVE_TRIANGLE
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment