| 47 |
|
*/ |
| 48 |
|
|
| 49 |
|
#include "applications/staticProps/NanoVolume.hpp" |
| 50 |
+ |
#if defined(HAVE_QHULL) |
| 51 |
|
#include "math/ConvexHull.hpp" |
| 52 |
|
#include "math/AlphaHull.hpp" |
| 53 |
+ |
#endif |
| 54 |
|
#include "utils/simError.h" |
| 55 |
|
#include "io/DumpReader.hpp" |
| 56 |
|
#include "primitives/Molecule.hpp" |
| 85 |
|
Vector3d vec; |
| 86 |
|
int i,j; |
| 87 |
|
|
| 86 |
– |
#ifdef HAVE_QHULL |
| 88 |
|
//ConvexHull* thishull = new ConvexHull(); |
| 89 |
|
AlphaHull* thishull = new AlphaHull(2.0); |
| 89 |
– |
#endif |
| 90 |
|
|
| 91 |
|
DumpReader reader(info_, dumpFilename_); |
| 92 |
|
int nFrames = reader.getNFrames(); |
| 155 |
|
sprintf(painCave.errMsg, "NanoVolume: qhull support was not compiled in!\n"); |
| 156 |
|
painCave.isFatal = 1; |
| 157 |
|
simError(); |
| 158 |
– |
|
| 158 |
|
#endif |
| 159 |
|
|
| 160 |
|
} |