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

Comparing trunk/OOPSE/libmdtools/do_Forces.F90 (file contents):
Revision 480 by chuckv, Tue Apr 8 17:16:22 2003 UTC vs.
Revision 482 by chuckv, Tue Apr 8 22:38:43 2003 UTC

# Line 4 | Line 4
4  
5   !! @author Charles F. Vardeman II
6   !! @author Matthew Meineke
7 < !! @version $Id: do_Forces.F90,v 1.12 2003-04-08 17:16:22 chuckv Exp $, $Date: 2003-04-08 17:16:22 $, $Name: not supported by cvs2svn $, $Revision: 1.12 $
7 > !! @version $Id: do_Forces.F90,v 1.13 2003-04-08 22:38:43 chuckv Exp $, $Date: 2003-04-08 22:38:43 $, $Name: not supported by cvs2svn $, $Revision: 1.13 $
8  
9   module do_Forces
10    use force_globals
# Line 595 | Line 595 | contains
595      real ( kind = dp ), intent(out) :: r_sq
596      real( kind = dp ) :: d(3)
597      real( kind = dp ) :: d_old(3)
598 <    d(1:3) = q_i(1:3) - q_j(1:3)
598 >    d(1:3) = q_j(1:3) - q_i(1:3)
599      d_old = d
600      ! Wrap back into periodic box if necessary
601      if ( SimUsesPBC() ) then

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines