From 1046f405905a368d968bf60b34a25d488c013384 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Thu, 5 Sep 2013 08:20:11 +0000 Subject: [PATCH] help --- CMakeLists.txt | 8 ++++---- Fltk/helpWindow.cpp | 1 + utils/solvers/python/pend.py | 3 +++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9c44eadd25..e09ef02f25 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,7 +52,7 @@ opt(GRAPHICS "Enable building graphics lib even without GUI (advanced)" OFF) opt(KBIPACK "Enable Kbipack (neeeded by homology solver)" ${DEFAULT}) opt(MATHEX "Enable math expression parser (used by plugins and options)" ${DEFAULT}) opt(MED "Enable MED mesh and post file formats" ${DEFAULT}) -opt(MESH "Enable mesh module" ${DEFAULT}) +opt(MESH "Enable mesh module (required by GUI)" ${DEFAULT}) opt(METIS "Enable Metis mesh partitioner" ${DEFAULT}) opt(MMG3D "Enable MMG3D 3D anisotropic mesh refinement" ${DEFAULT}) opt(MPEG_ENCODE "Enable built-in MPEG movie encoder" ${DEFAULT}) @@ -70,7 +70,7 @@ opt(OSMESA "Enable OSMesa for offscreen rendering (experimental)" OFF) opt(PARSER "Enable GEO file parser (required for .geo/.pos files)" ${DEFAULT}) opt(PETSC "Enable PETSc linear solvers (required for SLEPc)" ${DEFAULT}) opt(PLUGINS "Enable post-processing plugins" ${DEFAULT}) -opt(POST "Enable post-processing module" ${DEFAULT}) +opt(POST "Enable post-processing module (required by GUI)" ${DEFAULT}) opt(POPPLER "Enable Poppler for displaying PDF documents (experimental)" OFF) opt(QT "Enable dummy QT graphical interface proof-of-concept (experimental)" OFF) opt(RTREE "Enable RTREE (used for quad/hex mesh generation)" ${DEFAULT}) @@ -81,8 +81,8 @@ opt(SOLVER "Enable built-in finite element solvers (required for compounds)" ${D opt(TAUCS "Enable Taucs linear solver (alternative to PETSc)" ${DEFAULT}) opt(TETGEN "Enable Tetgen 3D initial mesh generator" ${DEFAULT}) opt(TETGEN_OLD "Enable older version of Tetgen" OFF) -opt(VORO3D "Enable Voro3D (experimental)" ${DEFAULT}) -opt(WRAP_JAVA "Enable generation of Java wrappers" OFF) +opt(VORO3D "Enable Voro3D (for hex meshing, experimental)" ${DEFAULT}) +opt(WRAP_JAVA "Enable generation of Java wrappers (experimental)" OFF) opt(WRAP_PYTHON "Enable generation of Python wrappers" OFF) set(GMSH_MAJOR_VERSION 2) diff --git a/Fltk/helpWindow.cpp b/Fltk/helpWindow.cpp index 2d83de40a8..473b9366df 100644 --- a/Fltk/helpWindow.cpp +++ b/Fltk/helpWindow.cpp @@ -361,6 +361,7 @@ helpWindow::helpWindow() browser->textsize(FL_NORMAL_SIZE - 2); browser->type(FL_MULTI_BROWSER); browser->callback(browser_cb); + browser->tooltip("Double-click to edit option"); options->resizable(browser); options->position(Fl::x() + Fl::w()/2 - width / 2, diff --git a/utils/solvers/python/pend.py b/utils/solvers/python/pend.py index c70f06a5cf..15ac4b2a37 100755 --- a/utils/solvers/python/pend.py +++ b/utils/solvers/python/pend.py @@ -7,6 +7,9 @@ import onelab import math, os +# import sys +# sys.stderr = open('ErrorLog.txt', 'wt') + def exportMsh(le1,le2): mshFile = open(onelab.path(__file__, "pend.msh"),'w') mshFile.write('$MeshFormat\n2.2 0 8\n$EndMeshFormat\n') -- GitLab