Skip to content
Snippets Groups Projects
  1. Apr 04, 2005
    • Christophe Geuzaine's avatar
      · 3627fd83
      Christophe Geuzaine authored
      added all the missing "Combine" modes in the parser
      3627fd83
  2. Apr 01, 2005
    • Christophe Geuzaine's avatar
      · 8b0b578f
      Christophe Geuzaine authored
      The FLTK folks have deprecated fl_ask(), so we need to replace the calls
      to fl_ask() with calls to fl_choice()
      8b0b578f
  3. Mar 26, 2005
    • Christophe Geuzaine's avatar
      · 9b1c1063
      Christophe Geuzaine authored
      - Generalized the "View" parser so that we can add new elements more easily
        (the code is *much* shorter, but unfortunately about 10-15% slower)
      
      - Upgraded all post-pro file formats to handle curved (second order)
        elements: SL2, VL2, TL2, ST2, VT2, ... The new version number for the
        postpro files is 1.4
      
      - Added code to automatically split the curved elements into linear
        elements when the view is created. WARNING: this is only a temporary
        solution: weshould generalize Adaptive_Post_View to handle these curved
        elements.
      9b1c1063
  4. Mar 13, 2005
    • Christophe Geuzaine's avatar
      · 1242f3fd
      Christophe Geuzaine authored
      - better test for drawing geo+mesh bbox
      - ask if we want to uncompress gz files during merge
      1242f3fd
    • Christophe Geuzaine's avatar
      · a5f2b8d0
      Christophe Geuzaine authored
      - fixed double free in case there is an error in tSprintf
      
      - new StrRelative command
      
      - small demo on how one can add a generic title to a plot using
        Plugin(Annotate)
      a5f2b8d0
  5. Mar 01, 2005
    • Christophe Geuzaine's avatar
      · 56f96798
      Christophe Geuzaine authored
      change the behavior of "-string string" command line option to match the
      bahavior of "-option file"
      56f96798
  6. Feb 20, 2005
    • Christophe Geuzaine's avatar
      · 32567663
      Christophe Geuzaine authored
      - New "Discrete Line" commands (similar to the Discrete Surface commands, but for
        curves).
      
        This permits e.g. to use Gmsh's extrusion mesh generators on 2D meshes (with
        boundaries) imported from other programs, and have all the useful elements
        generated (both volume and surface).
      
      - Don't use Ctrl+m for File->Merge, as it is a reserved keyword for
        Window->Minimize on OS X:
        * File->Merge is now Shift+Ctrl+o (since it's in some way a variation of
          File->Open's Ctrl+o)
        * Tools->Options is now Shift+Ctrl+n
      32567663
  7. 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
  8. Jan 20, 2005
    • Christophe Geuzaine's avatar
      · dc55e658
      Christophe Geuzaine authored
      allow negative line loop number in surface definitions
      dc55e658
  9. 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
  10. Jan 14, 2005
  11. 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
  12. 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
  13. Jan 02, 2005
    • Christophe Geuzaine's avatar
      · 39f49fb6
      Christophe Geuzaine authored
      add special token "Today" to return the current date
      39f49fb6
  14. Jan 01, 2005
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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
  21. 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
  22. Nov 19, 2004
    • Christophe Geuzaine's avatar
      · 1b1c132f
      Christophe Geuzaine authored
      fixed error checking code to work also with adaptive views.
      1b1c132f
  23. Nov 09, 2004
  24. Nov 01, 2004
  25. 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
Loading