[Gmsh] Bug in test_move_point_parametric_triangle
Christophe Geuzaine
cgeuzaine at ulg.ac.be
Sun Jan 18 12:45:11 CET 2009
Peter Wainwright wrote:
> Amazingly, I have discovered a potentially serious bug in the routines
> which perform edge collapse in the BDS_Mesh.
>
> Owing to this, it is possible for a point to collapse onto a linear
> boundary creating slivers (triangles with collinear points).
>
> The problem is that the sides of the triangle, a and b, are not
> recalculated after the point is moved. Thus, area_final and area_init
> are always equal! So the test for slivers is defeated.
Indeed! Thanks for the patch.
>
> I attach a simple patch to fix this.
>
> That aside, gmsh works great for me. Many thanks for this program!
>
> Peter Wainwright
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
--
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine