Skip to content
Snippets Groups Projects
  1. Apr 19, 2005
  2. Apr 04, 2005
    • Christophe Geuzaine's avatar
      · 3627fd83
      Christophe Geuzaine authored
      added all the missing "Combine" modes in the parser
      3627fd83
  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
      · 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. 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
  6. 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
  7. Jan 20, 2005
    • Christophe Geuzaine's avatar
      · dc55e658
      Christophe Geuzaine authored
      allow negative line loop number in surface definitions
      dc55e658
  8. 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
  9. Jan 14, 2005
  10. 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
  11. 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
  12. Jan 02, 2005
    • Christophe Geuzaine's avatar
      · 39f49fb6
      Christophe Geuzaine authored
      add special token "Today" to return the current date
      39f49fb6
  13. Jan 01, 2005
  14. Dec 30, 2004
    • 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
      · 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. Nov 19, 2004
    • Christophe Geuzaine's avatar
      · 1b1c132f
      Christophe Geuzaine authored
      fixed error checking code to work also with adaptive views.
      1b1c132f
  21. Nov 09, 2004
  22. Nov 01, 2004
  23. Oct 20, 2004
  24. Oct 16, 2004
  25. Sep 18, 2004
    • Christophe Geuzaine's avatar
      · d2e37ab4
      Christophe Geuzaine authored
      generalized the "spatial" Combine so that we can also combine by view name
      d2e37ab4
    • Christophe Geuzaine's avatar
      · 3b20e547
      Christophe Geuzaine authored
      cleaned up View->Combine by defining a new option (to determine if
      we should remove the original views after a "Combine" or not)
      3b20e547
  26. Sep 16, 2004
    • Christophe Geuzaine's avatar
      · 17d7ba05
      Christophe Geuzaine authored
      speedup view removal (only call UpdateViewsInGUI once per group of
      deletions)
      17d7ba05
  27. Aug 28, 2004
    • Christophe Geuzaine's avatar
      · b9ecc41b
      Christophe Geuzaine authored
      - set glBlendEquation explicitly
      - make parser
      b9ecc41b
  28. Jul 02, 2004
    • Christophe Geuzaine's avatar
      · 320ae905
      Christophe Geuzaine authored
      force a buffer flush when we abort the parser due to too many errors
      320ae905
    • Christophe Geuzaine's avatar
      · 7379efb3
      Christophe Geuzaine authored
      - All extrusion commands now return a list of 2 numbers (instead of 1):
        the first, as before, is the number of the "top" of the extruded region
        (i.e., a point for extrude point, a line for extrude line, ...), the
        second is the number of the "body" of the extruded region (i.e., a
        line for extrude point, a surface for extrude line, ...).
      
      - "Extrude Surface" now always creates a new volume (automatically),
        EVEN WHEN THERE IS NO LAYERS SPECIFICATION. This makes it consistent
        with "Extrude Point" and "Extrude Line", which always create new
        curves and surfaces, respectively.
      
        Important Note: you will have to modify your old .geo files to avoid
        duplicate volume definitions if you use "Extrude Surface" without
        extruding the mesh (i.e., without the "Layers" command). These
        duplicate volumes would be harmless, but they would srew up your
        physical volume definitions later on...
      
        * Solution 1: use the new volumes (recommended). To do this, just
        remove your old extra volume definitions and let Gmsh create the
        extruded volumes for you. (To retrieve the volume number created by
        Gmsh, use "aa[] = Extrude Surface {...};;": the volume number is
        "aa[1]".)
      
        * Solution 2: keep the old volumes.
      
        a) clean way: retrieve the new volume number (aa[] = Extrude Surface
        {...};;) and delete the new volume with "Delete { Volume aa[1]; }"
      
        b) dirty (but handy) way: since, in order to create the new volumes
        with the less impact possible, Gmsh uses "low" numbers (actually,
        forcing "Geometry.OldNewreg=0") for the new volumes, just remove all
        "low number volumes". For example, if you have 4 "Extrude Surface" in
        your file, you can then just do "Delete{ Volume {1:4}; }"
      
      Voila :-)
      7379efb3
Loading