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

Comparing trunk/src/primitives/GhostTorsion.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 91 | Line 91 | namespace oopse {
91      f3.negate();
92      ghostAtom->addTrq(cross(r43, f3));    
93      
94 +    atom1_->addParticlePot(potential_);
95 +    atom2_->addParticlePot(potential_);
96 +    ghostAtom->addParticlePot(potential_);
97 +
98      angle = acos(cos_phi) /M_PI * 180.0;
99    }
100   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines