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

Comparing branches/development/src/selection/DistanceFinder.cpp (file contents):
Revision 1803 by gezelter, Wed Oct 3 14:20:07 2012 UTC vs.
Revision 1812 by gezelter, Fri Nov 16 21:18:42 2012 UTC

# Line 47 | Line 47 | namespace OpenMD {
47   #endif
48  
49   namespace OpenMD {
50 <
50 >  
51    DistanceFinder::DistanceFinder(SimInfo* info) : info_(info) {
52 <
52 >    
53      nStuntDoubles_ = info_->getNGlobalAtoms() + info_->getNGlobalRigidBodies();
54      stuntdoubles_.resize(nStuntDoubles_);
55      
# Line 59 | Line 59 | namespace OpenMD {
59      Atom* atom;
60      Molecule::RigidBodyIterator rbIter;
61      RigidBody* rb;
62
62      
63 +    
64      for (mol = info_->beginMolecule(mi); mol != NULL;
65           mol = info_->nextMolecule(mi)) {
66          
# Line 135 | Line 135 | namespace OpenMD {
135          }
136        }
137      }
138
138      return bsResult;
139    }
141
140   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines