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

Comparing trunk/src/primitives/Bend.cpp (file contents):
Revision 1211 by gezelter, Wed Jan 23 16:38:22 2008 UTC vs.
Revision 1309 by gezelter, Tue Oct 21 18:23:31 2008 UTC

# Line 93 | Line 93 | namespace oopse {
93      atom1_->addFrc(force1);
94      atom2_->addFrc(force2);
95      atom3_->addFrc(force3);
96 <    
96 >
97 >    atom1_->addParticlePot(potential_);
98 >    atom2_->addParticlePot(potential_);
99 >    atom3_->addParticlePot(potential_);
100 >  
101      angle = theta /M_PI * 180.0;
102    }
103  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines