The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Problem with triangulation using DelaunayTri Class
Replies: 1   Last Post: Dec 15, 2009 11:37 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 5
Registered: 8/5/09
Re: Problem with triangulation using DelaunayTri Class
Posted: Dec 15, 2009 11:37 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi Jacek--
I'm surprised the delaunay function works when DelaunayTri won't because the current version of delaunay calls DelaunayTri. On the other hand, delaunayn seems to be independent code.

Also, I'll add another issue to this thread. I noticed this morning that running DelaunayTri repeatedly on the same data produces *different* triangulation matrices. Actually the matrix members are the same, but their order varies from one run to another. That can be a real problem! My code, for example, uses the triangulation as a mesh for solving Laplace's equation, and with a different triangulation matrix, the solution is quite different. I've implemented a sort after calling DelaunayTri, which fixes the problem.

So a kind request to the folks at Mathworks: please fix up DelaunayTri so that identical inputs produce identical output. Thanks guys!


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.