Azzera filtri
Azzera filtri

qhull version and wrapper

3 visualizzazioni (ultimi 30 giorni)
Rodrigo
Rodrigo il 3 Giu 2013
Risposto: Rodrigo il 16 Ago 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

Risposte (1)

Rodrigo
Rodrigo il 16 Ago 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

Categorie

Scopri di più su Voronoi Diagram in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by