9 |
|
!! @author Matthew Meineke |
10 |
|
!! @author Christopher Fennel |
11 |
|
!! @author J. Daniel Gezelter |
12 |
< |
!! @version $Id: calc_sticky_pair.F90,v 1.13 2003-08-27 16:16:01 tim Exp $, $Date: 2003-08-27 16:16:01 $, $Name: not supported by cvs2svn $, $Revision: 1.13 $ |
12 |
> |
!! @version $Id: calc_sticky_pair.F90,v 1.15 2003-10-29 20:41:38 mmeineke Exp $, $Date: 2003-10-29 20:41:38 $, $Name: not supported by cvs2svn $, $Revision: 1.15 $ |
13 |
|
|
14 |
|
module sticky_pair |
15 |
|
|
117 |
|
write(*,*) 'Sticky forces not initialized!' |
118 |
|
return |
119 |
|
endif |
120 |
+ |
|
121 |
|
|
122 |
|
if ( rij .LE. SSD_rbig ) then |
123 |
|
|
346 |
|
f(3,atom2) = f(3,atom2) - fzradial |
347 |
|
#endif |
348 |
|
|
349 |
+ |
if (do_stress) then |
350 |
+ |
|
351 |
|
#ifdef IS_MPI |
352 |
|
id1 = tagRow(atom1) |
353 |
|
id2 = tagColumn(atom2) |
356 |
|
id2 = atom2 |
357 |
|
#endif |
358 |
|
|
356 |
– |
if (do_stress) then |
359 |
|
if (molMembershipList(id1) .ne. molMembershipList(id2)) then |
360 |
|
|
361 |
|
! because the d vector is the rj - ri vector, and |