Skip to content
Snippets Groups Projects
  1. Dec 30, 2004
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. Nov 19, 2004
    • Christophe Geuzaine's avatar
      · 1b1c132f
      Christophe Geuzaine authored
      fixed error checking code to work also with adaptive views.
      1b1c132f
  8. Nov 09, 2004
  9. Nov 01, 2004
  10. Oct 20, 2004
  11. Oct 16, 2004
  12. 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
  13. Sep 16, 2004
    • Christophe Geuzaine's avatar
      · 17d7ba05
      Christophe Geuzaine authored
      speedup view removal (only call UpdateViewsInGUI once per group of
      deletions)
      17d7ba05
  14. Aug 28, 2004
    • Christophe Geuzaine's avatar
      · b9ecc41b
      Christophe Geuzaine authored
      - set glBlendEquation explicitly
      - make parser
      b9ecc41b
  15. 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
  16. Jul 01, 2004
    • Christophe Geuzaine's avatar
      · 416af37c
      Christophe Geuzaine authored
      bulletproof FindCurve/Surface + uniformize error messages
      416af37c
  17. Jun 08, 2004
    • Christophe Geuzaine's avatar
      · ac54a00b
      Christophe Geuzaine authored
      add @. after color specs in Fl_Browser: otherwise strings that start
      with a digit don't get printed
      ac54a00b
  18. May 31, 2004
    • Christophe Geuzaine's avatar
      · 0b18fb07
      Christophe Geuzaine authored
      - set VectorType to Displacement in Plugin(StreamLines)
      - shout when a plugin option/name does not exist
      0b18fb07
  19. May 30, 2004
    • Christophe Geuzaine's avatar
      · f32cff3c
      Christophe Geuzaine authored
      new BoundingBox command to force the computation of the bounding box (useful
      when there is no geometry and we don't include/merge any views)
      f32cff3c
  20. May 29, 2004
    • Christophe Geuzaine's avatar
      · b0769480
      Christophe Geuzaine authored
      - generalized vertex arrays to handle quads
      
      - added missing Ellispe ... Plane ... in parser
      b0769480
  21. May 25, 2004
    • Christophe Geuzaine's avatar
      · 873ac3d2
      Christophe Geuzaine authored
      Added final bit for 2nd order elements: the middle face nodes for
      quadrangular faces (i.e., for quadrangles, hexahedra, prisms and
      pyramids).
      873ac3d2
    • Christophe Geuzaine's avatar
      · 2e1dc14b
      Christophe Geuzaine authored
      - removed the quads from the simplex trees (finally...)
      
        **warning**
      
        this is a pretty big patch that touches a lot of different files. I
        tried my best to update all the things that needed to be updated,
        but I probably forgot some things... Please test! (especially the
        export routines in obscure formats like SMS, Gref, etc., as well as
        the extrusion code)
      
      - added second order edge vertices for hexas, prisms and pyramids
        (drawing not done yet)
      
      - added sanity check for number of values in post-pro parsed file
        format
      
      - merged all mesh printing/reading routines in Print_Mesh.cpp and
        Read_Mesh.cpp
      
      - cleaned up the statistics code
      2e1dc14b
  22. May 22, 2004
  23. May 14, 2004
    • Christophe Geuzaine's avatar
      · 4f0622e4
      Christophe Geuzaine authored
      issue a small warning if we try to include or merge an unexisting file
      in the parser
      4f0622e4
  24. May 12, 2004
    • Christophe Geuzaine's avatar
      · f579b815
      Christophe Geuzaine authored
      - store the points required by the transfinite algo in a list of vertices
        (instead of surf->ipar, vol->ipar)
      
      - generalized Coherence for these lists of transfinite points
      f579b815
    • Christophe Geuzaine's avatar
      · 2da9443b
      Christophe Geuzaine authored
      - added hacked version of the GNU matheval library to evaluate parsed
        functions efficiently ("a la getdp", but faster): I added a new
        directory (gmsh/MathEval) with that code, as well as a new configure
        option and a new define (HAVE_MATH_EVAL)
      
      - generalized the plugin option code to accept arbitrary string options
      
      - new plugin Plugin(Evaluate) that can evaluate arbitrary functions on
        scalar views (useful for example to create background meshes)
      
      PS: Everything (octree + function evaluation) is now in place to write
      a general plugin that can make any operation between arbitrary
      views...
      2da9443b
  25. Apr 19, 2004
    • Christophe Geuzaine's avatar
      · c340d246
      Christophe Geuzaine authored
      better test to check when to abort parsing
      c340d246
  26. Apr 13, 2004
  27. Mar 30, 2004
    • Christophe Geuzaine's avatar
      · 6a6d6190
      Christophe Geuzaine authored
      - Simplified the bounding box computation. It is now computed as
      follows (after each include/merge/open):
      
      1. If there is a geometry (i.e., at least one geometrical point), the
      bounding box is taken as the box enclosing all the geometrical points;
      
      2. If there is no geometry but there is a mesh (i.e., at least one
      mesh vertex), the bounding box is taken as the box enclosing all the
      mesh vertices;
      
      3. If there is no geometry and no mesh, but there are some
      post-processing views, the bounding box is taken as the box enclosing
      all the primitives of the last post-processing view.
      
      This should fix the weird things that sometimes happen when we animate
      scenes that do not contain any geometrical entities.
      
      - Deprecated MergeWithBoundingBox()
      
      - Removed Replot()
      
      - Removed the "Last_NumberOfPoints" hack in the parser
      
      - Removed CTX.expose
      6a6d6190
  28. Mar 03, 2004
    • Christophe Geuzaine's avatar
      · 09ffc82a
      Christophe Geuzaine authored
      Fixed '//' with EOF before '\n' bug
      09ffc82a
  29. Feb 28, 2004
    • Christophe Geuzaine's avatar
      · 1bea03df
      Christophe Geuzaine authored
      And more airplane work!
      
      - merged STL patch from Nicolas Tardieu. This patch permits to
        create an real elementary surface for each STL face. Until
        we have some code to directly remesh the STL data (which would
        be much nicer and cheaper), this is very useful. We can finally
        use STL representations to create meshable volume models.
        Thanks Nicolas !
      
      - new option to color the mesh by physical entities (if an element
        belongs to multiple physicals, we use the first one)
      
      - additional cleanup of the mesh drawing code
      
      - big cleanup of the geometry creation section in the parser:
      
        * removed horrible Geo/DataBase.cpp
        * fixed all List-related memory leaks (a lot!)
        * added tests to check if we don't try to recreate existing
          entities (this should prevent many weird bugs due to incorrect
          input files)
      
      - fixed LineLoop/EdgeLoop memory leaks
      
      - many small fixes all over the place
      1bea03df
  30. Feb 07, 2004
Loading