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

Comparing trunk/src/primitives/UreyBradleyBend.cpp (file contents):
Revision 1952 by gezelter, Sun Jun 16 15:15:42 2013 UTC vs.
Revision 1953 by gezelter, Thu Dec 5 18:19:26 2013 UTC

# Line 56 | Line 56 | namespace OpenMD {
56      Bend::calcForce(angle, doParticlePot);
57      bond_->calcForce(doParticlePot);
58      if (doParticlePot) {
59 <      atom2_->addParticlePot(bond_->getPotential());
59 >      atoms_[1]->addParticlePot(bond_->getPotential());
60      }
61    }
62  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines