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 898 by chuckv, Mon Jan 5 22:49:14 2004 UTC vs.
Revision 1041 by chrisfen, Mon Feb 9 14:48:57 2004 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.14 2004-01-05 22:49:14 chuckv Exp $, $Date: 2004-01-05 22:49:14 $, $Name: not supported by cvs2svn $, $Revision: 1.14 $
5 > !! @version $Id: calc_LJ_FF.F90,v 1.17 2004-02-09 14:48:57 chrisfen Exp $, $Date: 2004-02-09 14:48:57 $, $Name: not supported by cvs2svn $, $Revision: 1.17 $
6  
7   module lj
8    use definitions
# Line 93 | Line 93 | contains
93      status = 0
94  
95      LJ_rcut = rcut
96 + !!$    ! ATTENTION! This is a hardwiring of rcut!
97 + !!$    LJ_rcut = 9.0d0
98      haveCut = .true.
99  
100      if (havePolicy) then
# Line 131 | Line 133 | contains
133  
134      rcut6 = LJ_rcut**6
135  
136 + ! This loops through all atypes, even those that don't support LJ forces.
137      do i = 1, nAtypes
138  
139         call getElementProperty(atypes, i, "lj_epsilon", myEpsilon_i)
# Line 208 | Line 211 | contains
211      real( kind = dp ) :: delta
212      integer :: id1, id2
213  
211
214      if (rij.lt.LJ_rcut)  then
215  
216         ! Look up the correct parameters in the mixing matrix

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines