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 490 by gezelter, Fri Apr 11 15:16:59 2003 UTC vs.
Revision 491 by mmeineke, Fri Apr 11 18:46:37 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.5 2003-04-11 15:16:59 gezelter Exp $, $Date: 2003-04-11 15:16:59 $, $Name: not supported by cvs2svn $, $Revision: 1.5 $
5 > !! @version $Id: calc_LJ_FF.F90,v 1.6 2003-04-11 18:46:37 mmeineke Exp $, $Date: 2003-04-11 18:46:37 $, $Name: not supported by cvs2svn $, $Revision: 1.6 $
6  
7   module lj
8    use definitions
# Line 265 | Line 265 | contains
265   #endif
266  
267            if (molMembershipList(id1) .ne. molMembershipList(id2)) then
268 +
269               tau_Temp(1) = tau_Temp(1) + fx * d(1)
270               tau_Temp(2) = tau_Temp(2) + fx * d(2)
271               tau_Temp(3) = tau_Temp(3) + fx * d(3)
# Line 276 | Line 277 | contains
277               tau_Temp(9) = tau_Temp(9) + fz * d(3)
278               virial_Temp = virial_Temp + &
279                    (tau_Temp(1) + tau_Temp(5) + tau_Temp(9))
279          else
280             write(0,*) 'skipping ', id1, id2, molMembershipList(id1), molMembershipList(id2)
281          endif
280  
281 +          endif
282         endif
283        
284      endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines