Skip to content
Snippets Groups Projects
  1. Feb 02, 2005
    • Christophe Geuzaine's avatar
      · 3f0931fd
      Christophe Geuzaine authored
      - added new "spectral" colormap (truncated hsv)
      - added GUI button for elliptic mesh + geometry coherence
      - added GMSH_MAJOR_VERSION, GMSH_MINOR_VERSION and GMSH_PATCH_VERSION
        in the parser
      3f0931fd
  2. Jan 20, 2005
    • Christophe Geuzaine's avatar
      · dc55e658
      Christophe Geuzaine authored
      allow negative line loop number in surface definitions
      dc55e658
  3. Jan 16, 2005
    • Christophe Geuzaine's avatar
      *** empty log message *** · bb60bd68
      Christophe Geuzaine authored
      bb60bd68
    • Christophe Geuzaine's avatar
      · ec90f6ab
      Christophe Geuzaine authored
      - fixed the "unix socket name is one character short" problem on
      MacOS and AIX. Unfortunately, this required the client code to be
      slightly modified as well (and as a consequence, old versions of getdp
      will for example not work with new versions of Gmsh on MacOs and
      AIX). But it's better to do things "the right way" (TM) for people who
      want to connect using different languages (Perl, Python).
      
      - moved the GmshServer stuff in its own class
      
      - added missing rules in parser makefile (so that the parser gets
        rebuilt automatically when one changes Gmsh.y or Gmsh.l)
      ec90f6ab
  4. Jan 14, 2005
  5. Jan 13, 2005
    • Christophe Geuzaine's avatar
      · 5b890ab5
      Christophe Geuzaine authored
      - renamed "Duplicate View" into "Alias View" (suggested by Philippe;
        less confusing since "Duplicate" implies that we actually copy the
        data, which is not what we are doing)
      
      - added general "on the fly" tranformation matrix option. This allows
        for very efficient visualization of aliased datasets with
        non-destructive rotations, symmetries, etc.
      5b890ab5
  6. Jan 08, 2005
    • Christophe Geuzaine's avatar
      · 504b5126
      Christophe Geuzaine authored
      - removed all the crappy STL code and rewrote it using JF's POLY_rep
        class
      
      - generalized POLY_rep so that we can use the polygonal discretization
        as a surface mesh, and mesh in 3D afterwards. I.e., we can now take
        an input triangulation (a single surface in STL format, multiple
        surfaces in STL format, one or more surfaces defined using the new
        "Discrete Surface" commands), and generate a 3D mesh that uses it. We
        could in theory even mix triangulated and "normal" surfaces in the
        same geometry, but nothing is done at the moment to ensure that the
        mesh at the interfaces would match (if it does, it actually works
        very nicely)
      
      - new STL mesh output format to export a surface mesh as a STL file
      
      - added an option to the GEO output routine to save the surface mesh
        as discrete surfaces associated with the geometrical surfaces
      
      - added STL and Text output formats for post-processing views (the
        text output allows for example to exploit plugin-generated data in
        gnuplot)
      
      - generalized Plugin(Evaluate):
      
        * can loop automatically over all the timestep and/or components
      
        * can do operations using data from an external view
      
           - if the 2 views are based on the same grid, the plugin does the
             evaluation very efficiently
      
           - if the 2 views are based on differenet grids, the plugin
             automatically interpolates the external view data onto the
             grid of the current view
      
      - added new Rand() function in MathEval
      
      - default colormap is now # 2 (the Matlab "Jet" colormap)
      504b5126
  7. Jan 02, 2005
    • Christophe Geuzaine's avatar
      · 39f49fb6
      Christophe Geuzaine authored
      add special token "Today" to return the current date
      39f49fb6
  8. Jan 01, 2005
  9. Dec 30, 2004
    • Christophe Geuzaine's avatar
      · 2f6cb765
      Christophe Geuzaine authored
      - reworked the keyboard shortcuts with Laurent (our very own Macintosh
        Usability Guidelines Expert)
      
      - new smoothing option for jpeg output
      
      - new small GUI dialogs for ps/pdf/jpeg/gif/msh output (makes the
        'format' menu in the file dialog much shorter)
      2f6cb765
    • Christophe Geuzaine's avatar
      · c4be3d68
      Christophe Geuzaine authored
      bulletproof parse_string and skip_until so that we don't crash and simply
      report the error + use Msg instead of YY_FATAL_ERROR in YY_INPUT
      c4be3d68
    • Christophe Geuzaine's avatar
      · 3611177c
      Christophe Geuzaine authored
      Fixed all (well, most) string memory leaks in the parser. I've run
      automated tests on all the demos and benchmarks, and I did not see
      anything suspicious (no crashes, double frees, etc.)
      
      ******************************************************************
      ******************************************************************
      *********** Pretty please, please give this version **************
      *********** a try, especially on files with lots of **************
      *********** loops, includes, arrays of variables,   **************
      *********** etc., and report any problems. Thanks!  **************
      ******************************************************************
      ******************************************************************
      3611177c
    • Christophe Geuzaine's avatar
      · 9d07fbc5
      Christophe Geuzaine authored
      Don't optimize Gmsh.tab.o: on many architectures, g++ -O2 generates
      assembly code too large to be addressed correctly. This will hopefully
      fix the build problems reported on ppc.
      9d07fbc5
    • Christophe Geuzaine's avatar
      · 8377e742
      Christophe Geuzaine authored
      don't need UpdateViewsInGUI in parser anymore
      8377e742
    • Christophe Geuzaine's avatar
      · dfe36c8a
      Christophe Geuzaine authored
      better test for invalid For/EndFor loops
      dfe36c8a
    • Christophe Geuzaine's avatar
      *** empty log message *** · 64a959e5
      Christophe Geuzaine authored
      64a959e5
    • Christophe Geuzaine's avatar
      · 5aeb5576
      Christophe Geuzaine authored
      Don't update the views in the GUI directly after each view is created.
      Instead, wait until the whole file is read. This speeds up the creation
      of the interface dramatically when we have a large number of views in
      a single file. (In my code I routinely merge around 1000 views
      in a single file to do animations; with this patch, the GUI creation
      time goes from 30 seconds to less than 1 second.)
      5aeb5576
  10. Dec 27, 2004
    • Christophe Geuzaine's avatar
      · c556d30f
      Christophe Geuzaine authored
      more robust "Delete Empty Views"
      c556d30f
    • Christophe Geuzaine's avatar
      · b67069ff
      Christophe Geuzaine authored
      my last commit also fixed several problems in For/EndFor loops:
      
      - the body of the loop was executed at least once, even if the test was
        always false (e.g. For (1:-1:1) )
      - the body could be executed one extra time when using optional
        step values
      - the for loops didn't work with negative step values
      b67069ff
    • Christophe Geuzaine's avatar
      · e13b85ce
      Christophe Geuzaine authored
      - new parser function GetValue("text", default_value) to query a value
        interactively in a script
      
      - added a nice example using this (to compute slices automatically):
        demos/multislice.script
      e13b85ce
  11. Dec 26, 2004
    • Christophe Geuzaine's avatar
      · ee09900d
      Christophe Geuzaine authored
      - new "Delete Empty Views" command
      - new View.MinX, View.MinY, View.MinZ, View.MaxX, View.MaxY, View.MaxZ options
      - added example on how to do simple volume visualization
      ee09900d
  12. Dec 17, 2004
    • Christophe Geuzaine's avatar
      · 5dfa7230
      Christophe Geuzaine authored
      - fix cast in a couple of error msg
      - more fixes in elliptic algorithm (surf->TrsfVertices and surf->Vertices
        were incomplete)
      5dfa7230
  13. Dec 13, 2004
    • Christophe Geuzaine's avatar
      · 45db7277
      Christophe Geuzaine authored
      one can now specify a TIME list of values in parsed views to give the
      values of the time (or whatever) steps (like in ascii/binary views)
      45db7277
  14. Dec 06, 2004
    • Christophe Geuzaine's avatar
      · c95cb1d4
      Christophe Geuzaine authored
      - moved the AdaptiveView stuff in its own header file
      
      - fixed small bug in IsoSimplex (when Raise != 0)
      
      - fixed small memory leak in Plugin/Extract (when one or more
        expressions are invalid)
      c95cb1d4
  15. Nov 25, 2004
    • Christophe Geuzaine's avatar
      · 4b04a183
      Christophe Geuzaine authored
      - Added a bunch of colormaps from:
      
        Color Theory and Modeling for
        Computer Graphics, Visualization,
        and Multimedia Applications
      
        Haim Levkowitz
        University of Massachusetts Lowell
        Lowell, Massachusetts, USA
      
      - Increased max size of colormap to 1024
      
      - Small cleanup in parser+plugin
      4b04a183
    • Jean-François Remacle's avatar
      *** empty log message *** · 5c635fa8
      Jean-François Remacle authored
      5c635fa8
    • Christophe Geuzaine's avatar
      · 09149e34
      Christophe Geuzaine authored
      This patch fixes an old design flaw in the post-processing module,
      namely that we used a list of Post_View objects instead of a list of
      pointers to Post_View objects in CTX.post.list.
      
      This had many annoying consequences, in particular the fact that we
      needed to be extra careful every time the list was reallocated (as
      pointers to the list elements would become invalid).
      
      I tried very hard to change the code everywhere it should be changed,
      but I might have missed something. Please let me know if you see
      anything suspicious (like a crash when you duplicate/remove/combine/...
      post-processing views).
      09149e34
  16. Nov 19, 2004
    • Christophe Geuzaine's avatar
      · 1b1c132f
      Christophe Geuzaine authored
      fixed error checking code to work also with adaptive views.
      1b1c132f
  17. Nov 09, 2004
  18. Nov 01, 2004
  19. Oct 28, 2004
    • Christophe Geuzaine's avatar
      · 6f149945
      Christophe Geuzaine authored
      proof of concept for unproject (e.g. to add points with the mouse)
      6f149945
    • Christophe Geuzaine's avatar
      · 59a84726
      Christophe Geuzaine authored
      - make the rotation matrix a matrix of doubles (instead of floats)
      
      - store the modelview and the projection matrices in CTX
      
      - new unproject() routine to transform window coordinates to model
        coordinates
      
      - cleaned up all the static variables in the Opengl_Window class
      
      - small fix to reduce normal clamping when zooming
      59a84726
  20. Oct 27, 2004
    • Christophe Geuzaine's avatar
      · bc987486
      Christophe Geuzaine authored
      if we have no geometry and no mesh, use the max of all view bounding boxes
      (instead of the bounding box of the last view only)
      bc987486
  21. Oct 20, 2004
    • Christophe Geuzaine's avatar
      · e0046e2c
      Christophe Geuzaine authored
      small fixes for last commit:
      
      - only delete view.adaptive if we really delete the view (we might want to
        use the adaptive data in a duplicate view)
      
      - add missing opt_view_global_zoom in update_view()
      
      - don't even try to open StructuralSolver's data files if GMSHPLUGINSHOME
        is not defined
      e0046e2c
    • Jean-François Remacle's avatar
      · b0f29eb2
      Jean-François Remacle authored
      New high order interpolation.
      
      JFR
      b0f29eb2
  22. Oct 17, 2004
    • Christophe Geuzaine's avatar
      · 1b00135d
      Christophe Geuzaine authored
      Trying to fix Patrick's problems when launching getdp on Windows...
      
      When gmsh is started from the command line on Windows, cygwin does
      not (for some obscure reason) prepend '/cygdrive/x/' to the path. Since
      we check for '/cygdrive/' in SystemCall() in order to sanitize the
      path before passing it to CreateProcess(), the system call fails.
      
      I think the right way to deal with this is to actually remove the
      path change in SystemCall() (since we only change the leading part),
      and use the official cygwin API to change the path of every piece
      that will eventually end up in the argument of CreateProcess().
      And that's what "FixWindowsPath()" now does...
      1b00135d
  23. Oct 16, 2004
  24. Oct 15, 2004
    • Christophe Geuzaine's avatar
      · 2e81bcef
      Christophe Geuzaine authored
      added ability to save views in "parsed" format
      2e81bcef
  25. Sep 25, 2004
    • Christophe Geuzaine's avatar
      · 70de42ca
      Christophe Geuzaine authored
      subclass the original file chooser and move it into the GUI class, so
      that we can set its position (the FLTK folks don't want to patch the
      standard file chooser, so this is the only solution...)
      70de42ca
Loading