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

fix mesh algo #defines for back compat
parent ff9ba072
No related branches found
No related tags found
No related merge requests found
......@@ -875,7 +875,7 @@ StringXNumber GeometryOptions_Number[] = {
StringXNumber MeshOptions_Number[] = {
{ F|O, "Algorithm" , opt_mesh_algo2d , ALGO_2D_MESHADAPT_DELAUNAY ,
"2D mesh algorithm (1=MeshAdapt, 2=Delaunay, 3=MeshAdapt+Delaunay)" },
"2D mesh algorithm (1=MeshAdapt+Delaunay, 4=MeshAdapt, 5=Delaunay)" },
{ F|O, "Algorithm3D" , opt_mesh_algo3d ,
#if defined(HAVE_TETGEN)
ALGO_3D_TETGEN_DELAUNAY ,
......
......@@ -71,13 +71,16 @@
#define ENT_ALL (ENT_POINT | ENT_LINE | ENT_SURFACE | ENT_VOLUME)
// 2D mesh algorithms
#define ALGO_2D_MESHADAPT 1
#define ALGO_2D_DELAUNAY 2
#define ALGO_2D_MESHADAPT_DELAUNAY 3
#define ALGO_2D_MESHADAPT_DELAUNAY 1
#define ALGO_2D_ANISOTROPIC 2 // unused
#define ALGO_2D_TRIANGLE 3 // unused
#define ALGO_2D_MESHADAPT 4
#define ALGO_2D_DELAUNAY 5
// 3D mesh algorithms
#define ALGO_3D_TETGEN_DELAUNAY 1
#define ALGO_3D_NETGEN 4
#define ALGO_3D_TETGEN 5 // unused
#define TRANSFINI 1
#define LIBRE 2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment