50 |
|
!! @author Matthew Meineke |
51 |
|
!! @author Christopher Fennell |
52 |
|
!! @author J. Daniel Gezelter |
53 |
< |
!! @version $Id: sticky.F90,v 1.13 2005-05-29 21:16:25 chrisfen Exp $, $Date: 2005-05-29 21:16:25 $, $Name: not supported by cvs2svn $, $Revision: 1.13 $ |
53 |
> |
!! @version $Id: sticky.F90,v 1.14 2005-08-26 21:30:41 chrisfen Exp $, $Date: 2005-08-26 21:30:41 $, $Name: not supported by cvs2svn $, $Revision: 1.14 $ |
54 |
|
|
55 |
|
module sticky |
56 |
|
|
71 |
|
public :: do_sticky_pair |
72 |
|
public :: destroyStickyTypes |
73 |
|
public :: do_sticky_power_pair |
74 |
+ |
public :: getStickyCut |
75 |
+ |
public :: getStickyPowerCut |
76 |
|
|
75 |
– |
|
77 |
|
type :: StickyList |
78 |
|
integer :: c_ident |
79 |
|
real( kind = dp ) :: w0 = 0.0_dp |
149 |
|
return |
150 |
|
end subroutine newStickyType |
151 |
|
|
152 |
+ |
function getStickyCut(atomID) result(cutValue) |
153 |
+ |
integer, intent(in) :: atomID |
154 |
+ |
real(kind=dp) :: cutValue |
155 |
+ |
|
156 |
+ |
cutValue = StickyMap(atomID)%rbig |
157 |
+ |
end function getStickyCut |
158 |
+ |
|
159 |
+ |
function getStickyPowerCut(atomID) result(cutValue) |
160 |
+ |
integer, intent(in) :: atomID |
161 |
+ |
real(kind=dp) :: cutValue |
162 |
+ |
|
163 |
+ |
cutValue = StickyMap(atomID)%rbig |
164 |
+ |
end function getStickyPowerCut |
165 |
+ |
|
166 |
|
subroutine do_sticky_pair(atom1, atom2, d, rij, r2, sw, vpair, fpair, & |
167 |
|
pot, A, f, t, do_pot) |
168 |
|
|