> Message: 4
> Date: Thu, 8 Oct 2009 18:19:22 -0500 (CDT)
> From: Roy Stogner <roystgnr@...>
> Subject: [Libmesh-devel] libMesh 0.6.4, Release Candidate 1
> Now available via SourceForge.
> Download it, regression test it with your application, check to make
> sure we didn't break any of your code accidentally, curse at us for
> the API changes where we broke your code on purpose. And let us know
> on the mailing lists ASAP if there are any problems; we'd like to
> release an official 0.6.4 soon.
I suggest that the next version should have an updated version of the
Triangle mesh generator. Currently libmesh has version 1.5, but the
latest version is v1.6 (four years old!). See
This update brings substantial improvements to the Triangle library,
especially in domains with sharp angles, as stated in the webpage. My
version of libmesh has v1.6 for some time and I never had any problem.
The API is the same. You simply have to replace the files triangle.c e
triangle.h in the contrib directory. The only changes needed are in
triangle.h, in the last lines (282 to 289): comment the #ifdef's
there, and replace "VOID" with "int" in the declaration of "trifree"
(this is just to outsmart some compilers, see triangle.c, line 311).
So it should be just like this:
void triangulate(char *, struct triangulateio *, struct triangulateio *,
struct triangulateio *);
void trifree(int *memptr);
I also have my own upgrade to the TriangleInterface library, which
takes care of stuff like boundary ids and subdomains (and where you
can have triangles with different maximum area, for example). I'm
using it for shape optimization problems. I'll write a post about this