--- trunk/OOPSE/libmdtools/calc_sticky_pair.F90 2003/08/27 16:16:01 727 +++ trunk/OOPSE/libmdtools/calc_sticky_pair.F90 2003/08/27 16:25:11 730 @@ -9,7 +9,7 @@ !! @author Matthew Meineke !! @author Christopher Fennel !! @author J. Daniel Gezelter -!! @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 $ +!! @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 $ module sticky_pair @@ -345,6 +345,8 @@ contains f(3,atom2) = f(3,atom2) - fzradial #endif + if (do_stress) then + #ifdef IS_MPI id1 = tagRow(atom1) id2 = tagColumn(atom2) @@ -353,7 +355,6 @@ contains id2 = atom2 #endif - if (do_stress) then if (molMembershipList(id1) .ne. molMembershipList(id2)) then ! because the d vector is the rj - ri vector, and