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.14 2003-08-27 16:25:11 gezelter Exp $, $Date: 2003-08-27 16:25:11 $, $Name: not supported by cvs2svn $, $Revision: 1.14 $ |
13 |
|
|
14 |
|
module sticky_pair |
15 |
|
|
345 |
|
f(3,atom2) = f(3,atom2) - fzradial |
346 |
|
#endif |
347 |
|
|
348 |
+ |
if (do_stress) then |
349 |
+ |
|
350 |
|
#ifdef IS_MPI |
351 |
|
id1 = tagRow(atom1) |
352 |
|
id2 = tagColumn(atom2) |
355 |
|
id2 = atom2 |
356 |
|
#endif |
357 |
|
|
356 |
– |
if (do_stress) then |
358 |
|
if (molMembershipList(id1) .ne. molMembershipList(id2)) then |
359 |
|
|
360 |
|
! because the d vector is the rj - ri vector, and |