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 1665 by gezelter, Tue Nov 22 20:38:56 2011 UTC vs.
Revision 1769 by gezelter, Mon Jul 9 14:15:52 2012 UTC

# Line 53 | Line 53 | namespace OpenMD {
53      
54      SimInfo::MoleculeIterator mi;
55      Molecule* mol;
56 <    StuntDouble* integrableObject;
56 >    StuntDouble* sd;
57      Molecule::IntegrableObjectIterator  ioi;
58      Molecule::AtomIterator ai;
59      Atom* atom;
# Line 64 | Line 64 | namespace OpenMD {
64           mol = info_->nextMolecule(mi)) {
65          
66        // Hull is constructed from all known integrable objects.
67 <      for (integrableObject = mol->beginIntegrableObject(ioi);
68 <           integrableObject != NULL;
69 <           integrableObject = mol->nextIntegrableObject(ioi)) {
70 <        localSites_.push_back(integrableObject);
67 >      for (sd = mol->beginIntegrableObject(ioi);
68 >           sd != NULL;
69 >           sd = mol->nextIntegrableObject(ioi)) {
70 >        localSites_.push_back(sd);
71        }
72        
73        // selection can include atoms (which may be a subset of the IOs)
# Line 89 | Line 89 | namespace OpenMD {
89    }
90  
91    OpenMDBitSet HullFinder::findHull() {
92    StuntDouble* sd;
92      Snapshot* currSnapshot = info_->getSnapshotManager()->getCurrentSnapshot();
93      OpenMDBitSet bsResult(nStuntDoubles_);
94   #ifdef HAVE_QHULL

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines