From 5b4a0d77a29467d564a1c8b7d97f22d094d51729 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Wed, 6 Aug 2008 18:17:23 +0000 Subject: [PATCH] use Metis by default: Chaco can produce nicer partitions but is currently a lot less stable on some machines (cf. Dave) --- Common/DefaultOptions.h | 7 +------ Makefile | 3 +-- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Common/DefaultOptions.h b/Common/DefaultOptions.h index 807047b4e9..9338047f6d 100644 --- a/Common/DefaultOptions.h +++ b/Common/DefaultOptions.h @@ -1021,12 +1021,7 @@ StringXNumber MeshOptions_Number[] = { { F|O, "OptimizeNetgen" , opt_mesh_optimize_netgen , 0. , "Optimize the mesh using Netgen to improve the quality of tetrahedral elements" }, - { F|O, "Partitioner" , opt_mesh_partition_partitioner, -#if defined(HAVE_CHACO) - 1., -#else - 2., -#endif + { F|O, "Partitioner" , opt_mesh_partition_partitioner, 2. , "Partitioner software (1=Chacho, 2=METIS)" }, { F|O, "Points" , opt_mesh_points , 0. , "Display mesh vertices (nodes)?" }, diff --git a/Makefile b/Makefile index 1c64e4e8ab..e4168029f5 100644 --- a/Makefile +++ b/Makefile @@ -17,8 +17,7 @@ GMSH_SHORT_LICENSE = "GNU General Public License" GMSH_VERSION_FILE = Common/GmshVersion.h GMSH_DATE = `date "+%Y%m%d"` -GMSH_API = Geo/GModel.h\ - Geo/GEntity.h Geo/GPoint.h\ +GMSH_API = Geo/GModel.h Geo/GEntity.h Geo/GPoint.h\ Geo/GVertex.h Geo/GEdge.h Geo/GEdgeLoop.h Geo/GFace.h Geo/GRegion.h\ Geo/MVertex.h Geo/MEdge.h Geo/MFace.h Geo/MElement.h\ Geo/discreteVertex.h Geo/discreteEdge.h Geo/discreteFace.h Geo/discreteRegion.h\ -- GitLab