ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/calc_LJ_FF.F90
(Generate patch)

Comparing trunk/OOPSE/libmdtools/calc_LJ_FF.F90 (file contents):
Revision 460 by chuckv, Fri Apr 4 22:22:30 2003 UTC vs.
Revision 482 by chuckv, Tue Apr 8 22:38:43 2003 UTC

# Line 2 | Line 2
2   !! Corresponds to the force field defined in lj_FF.cpp
3   !! @author Charles F. Vardeman II
4   !! @author Matthew Meineke
5 < !! @version $Id: calc_LJ_FF.F90,v 1.2 2003-04-04 22:22:30 chuckv Exp $, $Date: 2003-04-04 22:22:30 $, $Name: not supported by cvs2svn $, $Revision: 1.2 $
5 > !! @version $Id: calc_LJ_FF.F90,v 1.3 2003-04-08 22:38:43 chuckv Exp $, $Date: 2003-04-08 22:38:43 $, $Name: not supported by cvs2svn $, $Revision: 1.3 $
6  
7   module lj
8    use definitions
# Line 219 | Line 219 | contains
219        
220         dudr = 24.0E0_DP * epsilon * (t6 - 2.0E0_DP*t12) / rij
221        
222 <       drdx = -d(1) / rij
223 <       drdy = -d(2) / rij
224 <       drdz = -d(3) / rij
222 >       drdx = d(1) / rij
223 >       drdy = d(2) / rij
224 >       drdz = d(3) / rij
225        
226         fx = dudr * drdx
227         fy = dudr * drdy

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines