ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/brains/SimInfo.cpp
(Generate patch)

Comparing trunk/src/brains/SimInfo.cpp (file contents):
Revision 1929 by gezelter, Mon Aug 19 13:12:00 2013 UTC vs.
Revision 1930 by gezelter, Mon Aug 19 13:51:04 2013 UTC

# Line 372 | Line 372 | namespace OpenMD {
372  
373    void SimInfo::addInteractionPairs(Molecule* mol) {
374      ForceFieldOptions& options_ = forceField_->getForceFieldOptions();
375 +    vector<Atom*>::iterator atomIter;
376      vector<Bond*>::iterator bondIter;
377      vector<Bend*>::iterator bendIter;
378      vector<Torsion*>::iterator torsionIter;
379      vector<Inversion*>::iterator inversionIter;
380 +    Atom* atom;
381      Bond* bond;
382      Bend* bend;
383      Torsion* torsion;
# Line 418 | Line 420 | namespace OpenMD {
420          atomGroups.insert(map<int, set<int> >::value_type(sd->getGlobalIndex(), oneAtomSet));        
421        }
422      }  
423 +
424            
425      for (bond= mol->beginBond(bondIter); bond != NULL;
426           bond = mol->nextBond(bondIter)) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines