qhull version and wrapper

5 vues (au cours des 30 derniers jours)
Rodrigo
Rodrigo le 3 Juin 2013
Réponse apportée : Rodrigo le 16 Août 2016
Hi, I've been playing around with regular tessellations and realized that R2013a seems to use a very old version of qhull. The qhull project website recommends upgrading to their 2012.1 version to avoid overflow problems, but I don't know how I would wrap such a complicated project in a mex file. The qhull.m file gives some indication, but is hardly detailed enough.
Thanks

Réponses (1)

Rodrigo
Rodrigo le 16 Août 2016
I'd like to bump this ancient question, but now with a new twist: mex wrapper with OpenMP. I need to compute the convexhulls of hundreds of thousands of configurations that include thousands of points, and parfor blows up my RAM.
Is it possible to run qHull, even as an external library, within a mex file that is running multiple threads? I'm not sure, but there seems to be reason to believe that memory allocation within mex files is not thread safe.
Thanks, Rodrigo

Catégories

En savoir plus sur Voronoi Diagram dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by