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

Comparing branches/development/src/selection/HullFinder.cpp (file contents):
Revision 1867 by gezelter, Mon Apr 29 17:53:48 2013 UTC vs.
Revision 1874 by gezelter, Wed May 15 15:09:35 2013 UTC

# Line 93 | Line 93 | namespace OpenMD {
93    }
94  
95    OpenMDBitSet HullFinder::findHull() {
96    Snapshot* currSnapshot = info_->getSnapshotManager()->getCurrentSnapshot();
96      OpenMDBitSet bsResult(nStuntDoubles_);
97   #ifdef HAVE_QHULL
98      surfaceMesh_->computeHull(localSites_);
# Line 107 | Line 106 | namespace OpenMD {
106   #endif
107      
108      std::vector<Triangle> sMesh = surfaceMesh_->getMesh();
110    int nTriangles = sMesh.size();
109      // Loop over the mesh faces
110      std::vector<Triangle>::iterator face;
111      std::vector<StuntDouble*>::iterator vertex;
# Line 128 | Line 126 | namespace OpenMD {
126    }
127  
128    OpenMDBitSet HullFinder::findHull(int frame) {
131    Snapshot* currSnapshot = info_->getSnapshotManager()->getSnapshot(frame);
129      OpenMDBitSet bsResult(nStuntDoubles_);
130   #ifdef HAVE_QHULL
131      surfaceMesh_->computeHull(localSites_);
# Line 142 | Line 139 | namespace OpenMD {
139   #endif
140      
141      std::vector<Triangle> sMesh = surfaceMesh_->getMesh();
145    int nTriangles = sMesh.size();
142      // Loop over the mesh faces
143      std::vector<Triangle>::iterator face;
144      std::vector<StuntDouble*>::iterator vertex;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines