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 388 by chuckv, Fri Mar 21 22:11:50 2003 UTC vs.
Revision 394 by gezelter, Mon Mar 24 21:55:34 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.2 2003-03-21 22:11:50 chuckv Exp $, $Date: 2003-03-21 22:11:50 $, $Name: not supported by cvs2svn $, $Revision: 1.2 $
7 > !! @version $Id: do_Forces.F90,v 1.4 2003-03-24 21:55:34 gezelter Exp $, $Date: 2003-03-24 21:55:34 $, $Name: not supported by cvs2svn $, $Revision: 1.4 $
8  
9   module do_Forces
10    use force_globals
# Line 578 | Line 578 | contains
578      d_old = d
579      ! Wrap back into periodic box if necessary
580      if ( SimUsesPBC() ) then
581 <
581 >      
582         d(1:3) = d(1:3) - box(1:3) * sign(1.0_dp,d(1:3)) * &
583              int(abs(d(1:3)/box(1:3)) + 0.5_dp)
584 <
584 >      
585      endif
586      r_sq = dot_product(d,d)
587          

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines