qhull version and wrapper

4 visualizaciones (últimos 30 días)
Rodrigo
Rodrigo el 3 de Jun. de 2013
Respondida: Rodrigo el 16 de Ag. de 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

Respuestas (1)

Rodrigo
Rodrigo el 16 de Ag. de 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

Categorías

Más información sobre Voronoi Diagram en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by