From 57ae24be36b772e444427ac27e904c31b9591205 Mon Sep 17 00:00:00 2001 From: Jean-Francois Remacle <jean-francois.remacle@uclouvain.be> Date: Fri, 12 Jan 2007 13:49:38 +0000 Subject: [PATCH] *** empty log message *** --- Common/Options.cpp | 13 ++++--------- Fltk/Callbacks.cpp | 10 +++------- Fltk/GUI.cpp | 6 ++---- 3 files changed, 9 insertions(+), 20 deletions(-) diff --git a/Common/Options.cpp b/Common/Options.cpp index 3f9ffa83e1..49be68dbe0 100644 --- a/Common/Options.cpp +++ b/Common/Options.cpp @@ -1,4 +1,4 @@ -// $Id: Options.cpp,v 1.324 2006-12-18 20:12:49 geuzaine Exp $ +// $Id: Options.cpp,v 1.325 2007-01-12 13:49:38 remacle Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -4633,17 +4633,15 @@ double opt_mesh_algo2d(OPT_ARGS_NUM) { if(action & GMSH_SET){ int algo = (int)val; - // at the moment the only 2d algo available is ours! - // CTX.mesh.algo2d = algo; - CTX.mesh.algo2d = DELAUNAY_ISO; + CTX.mesh.algo2d = algo; } #if defined(HAVE_FLTK) if(WID && (action & GMSH_GUI)) { switch (CTX.mesh.algo2d) { - case DELAUNAY_TRIANGLE: + case DELAUNAY_ISO: WID->mesh_choice[2]->value(1); break; - case DELAUNAY_ISO: + case MESHADAPT: default: WID->mesh_choice[2]->value(0); break; @@ -4696,9 +4694,6 @@ double opt_mesh_algo3d(OPT_ARGS_NUM) case FRONTAL_NETGEN: WID->mesh_choice[3]->value(1); break; - case DELAUNAY_TETGEN: - WID->mesh_choice[3]->value(2); - break; case DELAUNAY_ISO: default: WID->mesh_choice[3]->value(0); diff --git a/Fltk/Callbacks.cpp b/Fltk/Callbacks.cpp index 922c46c399..ef89031baf 100644 --- a/Fltk/Callbacks.cpp +++ b/Fltk/Callbacks.cpp @@ -1,4 +1,4 @@ -// $Id: Callbacks.cpp,v 1.500 2007-01-12 13:16:59 remacle Exp $ +// $Id: Callbacks.cpp,v 1.501 2007-01-12 13:49:38 remacle Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -1092,15 +1092,11 @@ void mesh_options_ok_cb(CALLBACK_ARGS) opt_mesh_point_type(0, GMSH_SET, WID->mesh_choice[0]->value()); opt_mesh_algo2d(0, GMSH_SET, - (WID->mesh_choice[2]->value() == 0) ? MESHADAPT : - (WID->mesh_choice[2]->value() == 1) ? DELAUNAY2D : - DELAUNAY_TRIANGLE); + (WID->mesh_choice[2]->value() == 0) ? MESHADAPT : DELAUNAY2D ); opt_mesh_recombine_algo(0, GMSH_SET, (WID->mesh_choice[5]->value() == 0) ? 1 : 2); opt_mesh_algo3d(0, GMSH_SET, - (WID->mesh_choice[3]->value() == 0) ? DELAUNAY_ISO : - (WID->mesh_choice[3]->value() == 1) ? FRONTAL_NETGEN : - DELAUNAY_TETGEN); + (WID->mesh_choice[3]->value() == 0) ? DELAUNAY_ISO : FRONTAL_NETGEN ); opt_mesh_color_carousel(0, GMSH_SET, WID->mesh_choice[4]->value()); opt_mesh_quality_type(0, GMSH_SET, WID->mesh_choice[6]->value()); opt_mesh_label_type(0, GMSH_SET, WID->mesh_choice[7]->value()); diff --git a/Fltk/GUI.cpp b/Fltk/GUI.cpp index 80bce128b5..46c45cdd8e 100644 --- a/Fltk/GUI.cpp +++ b/Fltk/GUI.cpp @@ -1,4 +1,4 @@ -// $Id: GUI.cpp,v 1.589 2007-01-12 13:16:59 remacle Exp $ +// $Id: GUI.cpp,v 1.590 2007-01-12 13:49:38 remacle Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -2231,13 +2231,11 @@ void GUI::create_option_window() static Fl_Menu_Item menu_2d_algo[] = { {"MeshAdapt", 0, 0, 0}, {"Delaunay", 0, 0, 0}, - {"Triangle", 0, 0, 0}, {0} }; static Fl_Menu_Item menu_3d_algo[] = { - {"Isotropic", 0, 0, 0}, + {"Delaunay", 0, 0, 0}, {"Netgen", 0, 0, 0}, - {"Tetgen", 0, 0, 0}, {0} }; static Fl_Menu_Item menu_recombine_algo[] = { -- GitLab