Skip to content
Snippets Groups Projects
  1. Nov 19, 2004
    • Christophe Geuzaine's avatar
      · 1b1c132f
      Christophe Geuzaine authored
      fixed error checking code to work also with adaptive views.
      1b1c132f
  2. Nov 09, 2004
  3. Nov 01, 2004
  4. 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
  5. 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
  6. 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
  7. 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
  8. Oct 16, 2004
  9. Oct 15, 2004
    • Christophe Geuzaine's avatar
      · 2e81bcef
      Christophe Geuzaine authored
      added ability to save views in "parsed" format
      2e81bcef
  10. 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
  11. 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
  12. Sep 16, 2004
    • Christophe Geuzaine's avatar
      · 17d7ba05
      Christophe Geuzaine authored
      speedup view removal (only call UpdateViewsInGUI once per group of
      deletions)
      17d7ba05
  13. Sep 13, 2004
    • Christophe Geuzaine's avatar
      · 71b15288
      Christophe Geuzaine authored
      Changed the order in which we compute the bounding box of a scene: look
      for mesh vertices first, then look for geometry points. I think this is better,
      since more and more people use the code just to visualize meshes (without
      geometries); as soon as there was one physical point in the mesh, the resulting
      bb could seem strange (as the physical points create geometrical points).
      71b15288
  14. Aug 28, 2004
    • Christophe Geuzaine's avatar
      · b9ecc41b
      Christophe Geuzaine authored
      - set glBlendEquation explicitly
      - make parser
      b9ecc41b
  15. Aug 27, 2004
  16. Aug 09, 2004
  17. Aug 06, 2004
  18. Jul 16, 2004
  19. 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
  20. Jul 01, 2004
    • Christophe Geuzaine's avatar
      · 416af37c
      Christophe Geuzaine authored
      bulletproof FindCurve/Surface + uniformize error messages
      416af37c
  21. Jun 17, 2004
    • Christophe Geuzaine's avatar
      · ffd86d33
      Christophe Geuzaine authored
      create the default project file in the home directory if no "current"
      directory is defined (e.g. when double-clicking on the icon on Windows/MacOS)
      ffd86d33
  22. 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
  23. 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
  24. 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
  25. May 29, 2004
    • Christophe Geuzaine's avatar
      · b0769480
      Christophe Geuzaine authored
      - generalized vertex arrays to handle quads
      
      - added missing Ellispe ... Plane ... in parser
      b0769480
    • Christophe Geuzaine's avatar
      · 27c62db2
      Christophe Geuzaine authored
      - generalized vertex array class to use reallocatable arrays
      
      - introduced vertex arrays in post for all triangles: this speeds
        things up tremendously for ALL scalar views: 2d scalar views of
        course, but also for 3d isos (tets, hexas, etc.) and all smooth
        normals. The costly computations (compute the isos, get the normals)
        are only done ONCE each time the view is changed. Then we just pass
        the vertex array to OpenGL everytime we need to redraw (e.g. when we
        rotate the scene)
      
      - removed the display list code alltogether: it's completely blown
        away by the new vertex array code!
      
      for the record: with the new drawing code, you can
      
      - rotate 500,000 triangles in real time on a 3-year old linux PC
      (tested with a boing 747 surface mesh from CU: 10 times faster than
      old code)
      
      - display and rotate in real time 10 transparent+smooth shaded 3D isos
      for a 1 million tet mesh (about 1 frame per second with the new code;
      took tens of seconds with the old one)
      
      Awesome :-)
      27c62db2
  26. 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
  27. May 22, 2004
    • Christophe Geuzaine's avatar
      missed one DrawUI() · 26053c0f
      Christophe Geuzaine authored
      26053c0f
    • Christophe Geuzaine's avatar
      · 8de5d8c1
      Christophe Geuzaine authored
      make parser
      8de5d8c1
    • Christophe Geuzaine's avatar
      · 864a124e
      Christophe Geuzaine authored
      Small changes inspired by Wednesday's discussions:
      
      - added FL::check in redraw_opengl() (and thus removed DrawUI()):
        this should (?) fix the missing redraws
      
      - protected the orientation calculation with a lock
      
      - made the mode selection widget do its callback even if we don't
        change the selection (so that we always go back to the top-level
        menu)
      864a124e
    • Christophe Geuzaine's avatar
      · 1e0be4b2
      Christophe Geuzaine authored
      Small changes inspired by Wednesday's discussions:
      
      - Mac only: Gmsh now publishes its "file types"... That means that
        geo/msh/pos files now have nice icons, and that you can double-click
        on a geo/msh/pos file in the Finder to open it :-)
      
      - removed support for fltk 1.0 (wasn't compiling anymore anyway)
      
      - doubled the timout in GmshServer (2->4s): this seems to help on
        Windows (thanks to jkools@veeco.com)
      
      - added warnings in the docs about the Attractor feature
      
      - increased WB by 1 pixel in the GUI
      
      - replaced more Msg(FATAL) with Msg(ERROR) where it makes sense
      1e0be4b2
  28. 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
  29. 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
Loading