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 > [email protected] > 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 _______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
