ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/selection/HullFinder.cpp
(Generate patch)

Comparing trunk/src/selection/HullFinder.cpp (file contents):
Revision 1412 by gezelter, Mon Mar 22 18:45:39 2010 UTC vs.
Revision 1438 by chuckv, Wed Apr 21 19:05:04 2010 UTC

# Line 81 | Line 81 | namespace OpenMD {
81          stuntdoubles_[rb->getGlobalIndex()] = rb;
82        }
83          
84 <    }    
85 <    surfaceMesh_ = new ConvexHull();    
84 >    }
85 > #ifdef HAVE_QHULL
86 >    surfaceMesh_ = new ConvexHull();
87 > #else
88 >    sprintf( painCave.errMsg,
89 >             "Hullfinder error: Hull calculation not possible without libqhull.\n",
90 >              "Please rebuild with Qhull");
91 >      painCave.severity = OPENMD_ERROR;
92 >      painCave.isFatal = 1;
93 >      simError();
94 >
95 > #endif
96    }
97  
98    OpenMDBitSet HullFinder::findHull() {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines