From 0ad53d48dedd4d3dab60583dbccd9c890223c6a5 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 18 Mar 2016 08:21:13 +0000 Subject: [PATCH] gmsh3d --- Common/CommandLine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Common/CommandLine.cpp b/Common/CommandLine.cpp index e943375b40..7c12c2e1f6 100644 --- a/Common/CommandLine.cpp +++ b/Common/CommandLine.cpp @@ -837,9 +837,9 @@ void GetOptions(int argc, char *argv[]) CTX::instance()->mesh.algo2d = ALGO_2D_FRONTAL; else if(!strncmp(argv[i], "bamg",4)) CTX::instance()->mesh.algo2d = ALGO_2D_BAMG; - else if(!strncmp(argv[i], "del3d", 5)) + else if(!strncmp(argv[i], "gmsh3d", 5)) CTX::instance()->mesh.algo3d = ALGO_3D_DELAUNAY_NEW; - else if(!strncmp(argv[i], "tetgen", 6)) + else if(!strncmp(strncmp(argv[i], "del3d", 6) || argv[i], "tetgen", 6)) CTX::instance()->mesh.algo3d = ALGO_3D_DELAUNAY; else if(!strncmp(argv[i], "front3d", 7) || !strncmp(argv[i], "netgen", 6)) CTX::instance()->mesh.algo3d = ALGO_3D_FRONTAL; -- GitLab