ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/math/qhull.hpp
(Generate patch)

Comparing trunk/src/math/qhull.hpp (file contents):
Revision 2018 by gezelter, Sun Jun 16 15:15:42 2013 UTC vs.
Revision 2019 by gezelter, Mon Sep 8 23:32:20 2014 UTC

# Line 53 | Line 53
53   #  pragma GCC system_header
54   #endif
55  
56 + /*
57 +
58 +  If the qhull library is dynamically linked, we need one of these two,
59 +  but the qh_QHpointer=0 option appears to work well.
60 +
61 +  qh_QHpointer  = 1     access globals via a pointer to allocated memory
62 +                        enables qh_saveqhull() and qh_restoreqhull()
63 +
64 +                = 0     qh_qh and qh_qhstat are static data structures
65 +                        only one instance of qhull() can be active at a time
66 + */
67 +
68 + #ifdef qh_QHpointer
69 + #define qh_QHpointer 0
70 + #endif
71 +
72   extern "C"
73   {
74   #ifdef HAVE_QHULL_2011

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines