ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-4/src/primitives/Bond.hpp
(Generate patch)

Comparing branches/new_design/OOPSE-4/src/primitives/Bond.hpp (file contents):
Revision 1856 by tim, Tue Nov 30 17:54:22 2004 UTC vs.
Revision 1857 by tim, Mon Dec 6 20:15:02 2004 UTC

# Line 55 | Line 55 | class Bond {
55  
56              force = r12 * (-dvdr / len);
57              
58 <            atom1_->addFrc(force);
59 <            atom2_->addFrc(-force);
58 >            atom1_->addFrc(-force);
59 >            atom2_->addFrc(force);
60         }
61          
62          double getPotential() {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines