| 35 |
|
* |
| 36 |
|
* [1] Meineke, et al., J. Comp. Chem. 26, 252-271 (2005). |
| 37 |
|
* [2] Fennell & Gezelter, J. Chem. Phys. 124, 234104 (2006). |
| 38 |
< |
* [3] Sun, Lin & Gezelter, J. Chem. Phys. 128, 24107 (2008). |
| 38 |
> |
* [3] Sun, Lin & Gezelter, J. Chem. Phys. 128, 234107 (2008). |
| 39 |
|
* [4] Kuang & Gezelter, J. Chem. Phys. 133, 164101 (2010). |
| 40 |
|
* [5] Vardeman, Stocker & Gezelter, J. Chem. Theory Comput. 7, 834 (2011). |
| 41 |
|
*/ |
| 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 |