ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/primitives/Bond.hpp
(Generate patch)

Comparing trunk/src/primitives/Bond.hpp (file contents):
Revision 1290 by cli2, Wed Sep 10 19:51:45 2008 UTC vs.
Revision 1309 by gezelter, Tue Oct 21 18:23:31 2008 UTC

# Line 75 | Line 75 | namespace oopse {
75  
76        atom1_->addFrc(-force);
77        atom2_->addFrc(force);
78 +    
79 +      atom1_->addParticlePot(potential_);
80 +      atom2_->addParticlePot(potential_);
81      }
82      
83      RealType getPotential() {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines