ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/primitives/DirectionalAtom.cpp
(Generate patch)

Comparing trunk/OOPSE-4/src/primitives/DirectionalAtom.cpp (file contents):
Revision 2204 by gezelter, Fri Apr 15 22:04:00 2005 UTC vs.
Revision 2341 by tim, Mon Oct 3 15:54:23 2005 UTC

# Line 148 | Line 148 | namespace oopse {
148  
149      for (int j = 0; j < 3; j++ ) {
150  
151 <      grad[3] += torque[j]*ephi[j];
152 <      grad[4] += torque[j]*etheta[j];
153 <      grad[5] += torque[j]*epsi[j];
151 >      grad[3] -= torque[j]*ephi[j];
152 >      grad[4] -= torque[j]*etheta[j];
153 >      grad[5] -= torque[j]*epsi[j];
154  
155      }
156      

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines