Skip to content
Snippets Groups Projects
  1. Nov 19, 2004
    • Christophe Geuzaine's avatar
      · 950e8323
      Christophe Geuzaine authored
      The "Simplex" class is now derived from a new class "SimplexBase",
      which contains only pointers to the nodes, and none of the other stuff
      necessary for the actual mesh generation.
      
      All the input/output/display routines have been rewritten in terms of
      SimplexBase: this provides a gain of almost 50% in memory when you
      just load meshes from .msh files to do visualization stuff, instead of
      actually generating the mesh.
      950e8323
  2. Nov 18, 2004
    • Christophe Geuzaine's avatar
      · 57515b52
      Christophe Geuzaine authored
      doc update
      57515b52
    • Christophe Geuzaine's avatar
      · e66bc1a0
      Christophe Geuzaine authored
      New General.ClipFactor option to fine-tune the position of the near and far
      clipping planes (default = 10; setting a smaller value leads to a better
      z-buffer resolution, but zooms/rotations can then lead to undesired clipping).
      e66bc1a0
  3. Nov 13, 2004
    • Christophe Geuzaine's avatar
      · 024e9517
      Christophe Geuzaine authored
      - First draft (pretty much untested!) of new "Integrate" plugin to
        * integrate scalar fields over all the elements in a view
        * integrate the circulation of vector fields along line elements
        * integrate the flux of vector fields across surface elements
      
        Used with Plugin(DisplacementRaise) and Plugin(Evaluate) this
        permits for example to compute the area/volume of deformed
        configurations; and, with Plugin(CutPlane)+Plugin(Skin), the
        perimeter of deformed sections. Another interesting application is
        to use it on a vector field with Plugin(CutPlane), in order to
        compute fluxes across arbitrary cross-sections.
      
      - Added "connectPoints" option to Plugin(CutParametric) so
        that we can feed its output to Plugin(Integrate)
      
      - Added Normals and Tangents options to visualize the orientation of
        elements in post-processing views
      
      - Added "swapOrientation" in Plugin(Transform) to change the
        orientation of the elements (in place) (+ moved the transformation
        routines from the view class into the plugin)
      
      - fixed #defines in some of the plugin header files
      024e9517
  4. Oct 30, 2004
    • Christophe Geuzaine's avatar
      · 50747f63
      Christophe Geuzaine authored
      New Plugin(HarmonicToTime)
      50747f63
    • Christophe Geuzaine's avatar
      · f617dc73
      Christophe Geuzaine authored
      New (very simple, but very nice IMHO) callback mechanism in plugins: a
      plugin can now set the min/max/step in input fields, and draw
      arbitrary stuff when the values are modified.
      
      This makes the plugin interface MUCH nicer: the plane in CutPlane is
      defined interactively (a la "Clipping planes"), the sphere in
      CutSphere is visible, the min/max values in CutMap reflect the min/max
      in the view, etc.
      f617dc73
  5. Oct 28, 2004
    • Christophe Geuzaine's avatar
      *** empty log message *** · fb2f19d7
      Christophe Geuzaine authored
      fb2f19d7
    • 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
  6. Oct 26, 2004
    • Christophe Geuzaine's avatar
      · 59f25c1a
      Christophe Geuzaine authored
      The new "External data source" option makes the "Vector type->Raised
      view" unnecessary. Just select "Vector type->Displacement" and choose
      the data source from any other view in the list--including "Self"!
      59f25c1a
    • Christophe Geuzaine's avatar
      · d9d25071
      Christophe Geuzaine authored
      added small option to color the arrows representing a vector field
      according to the data from another view
      d9d25071
  7. Oct 25, 2004
  8. Oct 21, 2004
    • Christophe Geuzaine's avatar
      · 509b537f
      Christophe Geuzaine authored
      Generalized "Raised scalar view" vector type: one can now also raise
      vector and tensor views. (It's now simply called "Raised view".)
      509b537f
  9. Oct 17, 2004
  10. Oct 16, 2004
  11. Oct 15, 2004
    • Christophe Geuzaine's avatar
      · 2e81bcef
      Christophe Geuzaine authored
      added ability to save views in "parsed" format
      2e81bcef
  12. Oct 14, 2004
  13. Oct 11, 2004
  14. Sep 28, 2004
  15. Sep 18, 2004
    • Christophe Geuzaine's avatar
      · 9d4f38b4
      Christophe Geuzaine authored
      - removed the sort view list stuff: it's a bad idea since we re-sort
      the list in many places when we search/replace through it
      
      - add a simple "set visibility->all on/off" switch
      9d4f38b4
    • Christophe Geuzaine's avatar
      · 036ca83c
      Christophe Geuzaine authored
      added ability to sort the list of views (by name, by visibility)
      036ca83c
  16. Sep 16, 2004
    • Christophe Geuzaine's avatar
      · 34a7daef
      Christophe Geuzaine authored
      - the main menu is now scrollable when there are more than 25
      buttons and it can handle an arbitrary number of buttons (this removes
      the "100 views max in the GUI" limitation)
      
      - the view number is now also displayed in the menu (to make it easier
      to find the view when one has many many views)
      
      - added "Remove empty views" menu item
      34a7daef
  17. Sep 01, 2004
    • Christophe Geuzaine's avatar
      · bf29e24c
      Christophe Geuzaine authored
      For all our mechanical engineering friends out there, I just cleaned up the stuff
      I did with Sean last year, i.e., allow to draw a vector field as a displacement
      map, with another scalar field displayed instead of the displacement norm.
      
      It's basically the same as Plugin(DisplacementRaise), but it does not modify the
      actual data inside the view (so e.g. you cannot save it). Instead, it's implemented
      as an alternative "Vector display" mode. This allows to easily animate deformed meshed
      with arbitrary scalar fields drawn on them. (The GUI for this is kinda lame, but
      it works: just select Vector display->Raised scalar view, select the scalar view
      number, et voila.)
      
      I also generalized the smooth normal code path a little, so that we can have smooth
      normals for vector-as-displacement and tensor-as-von-mises plots, too.
      bf29e24c
  18. Aug 21, 2004
  19. Aug 20, 2004
  20. Aug 15, 2004
    • Christophe Geuzaine's avatar
      · e0803866
      Christophe Geuzaine authored
      better label for "constrain bg mesh"
      e0803866
  21. Aug 07, 2004
    • Christophe Geuzaine's avatar
      · f7545859
      Christophe Geuzaine authored
      - fixed a couple of corner cases in the computation of 2D/3D isos
        (+renamed the routines)
      - fixed small box size bug in the GUI
      f7545859
  22. Jul 30, 2004
    • Christophe Geuzaine's avatar
      · 0e0ce3d5
      Christophe Geuzaine authored
      airplane work: reorganized the option panels in the GUI (more descriptive
      labels, same categories for geo/mesh/post, etc.)
      0e0ce3d5
  23. Jul 23, 2004
  24. Jul 17, 2004
    • Christophe Geuzaine's avatar
      · 9304a0a4
      Christophe Geuzaine authored
      generalized + added GUI for clipping planes
      9304a0a4
  25. Jul 16, 2004
    • Christophe Geuzaine's avatar
      · 01d43db8
      Christophe Geuzaine authored
      - moved the smooth normals stuff into a separate file
      - added smooth normal support for surface meshes (very nice!)
      01d43db8
  26. Jul 14, 2004
    • Christophe Geuzaine's avatar
      · fd6e1492
      Christophe Geuzaine authored
      - Triangle now supports our background meshes
      
      - fixed memory leak in Optimize_Netgen (forgot to free the volume
        vertices) + added missing 2nd order reset
      
      - fixed a couple of typos in the docs
      fd6e1492
  27. Jul 05, 2004
  28. Jul 02, 2004
    • Christophe Geuzaine's avatar
      *** empty log message *** · 0d6c29eb
      Christophe Geuzaine authored
      0d6c29eb
    • Christophe Geuzaine's avatar
      · e0618a69
      Christophe Geuzaine authored
      fixed old extrusion mesh generator (used the old 99999 volume hack!)
      e0618a69
    • Christophe Geuzaine's avatar
      *** empty log message *** · bbe06f55
      Christophe Geuzaine authored
      bbe06f55
    • 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
  29. Jun 30, 2004
Loading