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

help

parent e3fb89fa
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,7 @@ opt(GRAPHICS "Enable building graphics lib even without GUI (advanced)" OFF) ...@@ -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(KBIPACK "Enable Kbipack (neeeded by homology solver)" ${DEFAULT})
opt(MATHEX "Enable math expression parser (used by plugins and options)" ${DEFAULT}) opt(MATHEX "Enable math expression parser (used by plugins and options)" ${DEFAULT})
opt(MED "Enable MED mesh and post file formats" ${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(METIS "Enable Metis mesh partitioner" ${DEFAULT})
opt(MMG3D "Enable MMG3D 3D anisotropic mesh refinement" ${DEFAULT}) opt(MMG3D "Enable MMG3D 3D anisotropic mesh refinement" ${DEFAULT})
opt(MPEG_ENCODE "Enable built-in MPEG movie encoder" ${DEFAULT}) opt(MPEG_ENCODE "Enable built-in MPEG movie encoder" ${DEFAULT})
...@@ -70,7 +70,7 @@ opt(OSMESA "Enable OSMesa for offscreen rendering (experimental)" OFF) ...@@ -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(PARSER "Enable GEO file parser (required for .geo/.pos files)" ${DEFAULT})
opt(PETSC "Enable PETSc linear solvers (required for SLEPc)" ${DEFAULT}) opt(PETSC "Enable PETSc linear solvers (required for SLEPc)" ${DEFAULT})
opt(PLUGINS "Enable post-processing plugins" ${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(POPPLER "Enable Poppler for displaying PDF documents (experimental)" OFF)
opt(QT "Enable dummy QT graphical interface proof-of-concept (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}) 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 ...@@ -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(TAUCS "Enable Taucs linear solver (alternative to PETSc)" ${DEFAULT})
opt(TETGEN "Enable Tetgen 3D initial mesh generator" ${DEFAULT}) opt(TETGEN "Enable Tetgen 3D initial mesh generator" ${DEFAULT})
opt(TETGEN_OLD "Enable older version of Tetgen" OFF) opt(TETGEN_OLD "Enable older version of Tetgen" OFF)
opt(VORO3D "Enable Voro3D (experimental)" ${DEFAULT}) opt(VORO3D "Enable Voro3D (for hex meshing, experimental)" ${DEFAULT})
opt(WRAP_JAVA "Enable generation of Java wrappers" OFF) opt(WRAP_JAVA "Enable generation of Java wrappers (experimental)" OFF)
opt(WRAP_PYTHON "Enable generation of Python wrappers" OFF) opt(WRAP_PYTHON "Enable generation of Python wrappers" OFF)
set(GMSH_MAJOR_VERSION 2) set(GMSH_MAJOR_VERSION 2)
......
...@@ -361,6 +361,7 @@ helpWindow::helpWindow() ...@@ -361,6 +361,7 @@ helpWindow::helpWindow()
browser->textsize(FL_NORMAL_SIZE - 2); browser->textsize(FL_NORMAL_SIZE - 2);
browser->type(FL_MULTI_BROWSER); browser->type(FL_MULTI_BROWSER);
browser->callback(browser_cb); browser->callback(browser_cb);
browser->tooltip("Double-click to edit option");
options->resizable(browser); options->resizable(browser);
options->position(Fl::x() + Fl::w()/2 - width / 2, options->position(Fl::x() + Fl::w()/2 - width / 2,
......
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
import onelab import onelab
import math, os import math, os
# import sys
# sys.stderr = open('ErrorLog.txt', 'wt')
def exportMsh(le1,le2): def exportMsh(le1,le2):
mshFile = open(onelab.path(__file__, "pend.msh"),'w') mshFile = open(onelab.path(__file__, "pend.msh"),'w')
mshFile.write('$MeshFormat\n2.2 0 8\n$EndMeshFormat\n') mshFile.write('$MeshFormat\n2.2 0 8\n$EndMeshFormat\n')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment