9 |
|
!! @author Matthew Meineke |
10 |
|
!! @author Christopher Fennel |
11 |
|
!! @author J. Daniel Gezelter |
12 |
< |
!! @version $Id: calc_sticky_pair.F90,v 1.14 2003-08-27 16:25:11 gezelter Exp $, $Date: 2003-08-27 16:25:11 $, $Name: not supported by cvs2svn $, $Revision: 1.14 $ |
12 |
> |
!! @version $Id: calc_sticky_pair.F90,v 1.16 2004-01-05 22:49:14 chuckv Exp $, $Date: 2004-01-05 22:49:14 $, $Name: not supported by cvs2svn $, $Revision: 1.16 $ |
13 |
|
|
14 |
|
module sticky_pair |
15 |
|
|
90 |
|
real (kind=dp), intent(inout) :: rij, r2 |
91 |
|
real (kind=dp), dimension(3), intent(in) :: d |
92 |
|
real (kind=dp) :: pot |
93 |
< |
real (kind=dp), dimension(9,getNlocal()) :: A |
94 |
< |
real (kind=dp), dimension(3,getNlocal()) :: f |
95 |
< |
real (kind=dp), dimension(3,getNlocal()) :: t |
93 |
> |
real (kind=dp), dimension(9,nLocal) :: A |
94 |
> |
real (kind=dp), dimension(3,nLocal) :: f |
95 |
> |
real (kind=dp), dimension(3,nLocal) :: t |
96 |
|
logical, intent(in) :: do_pot, do_stress |
97 |
|
|
98 |
|
real (kind=dp) :: xi, yi, zi, xj, yj, zj, xi2, yi2, zi2, xj2, yj2, zj2 |
118 |
|
return |
119 |
|
endif |
120 |
|
|
121 |
+ |
|
122 |
|
if ( rij .LE. SSD_rbig ) then |
123 |
|
|
124 |
|
r3 = r2*rij |