50 |
|
!! @author Matthew Meineke |
51 |
|
!! @author Christopher Fennell |
52 |
|
!! @author J. Daniel Gezelter |
53 |
< |
!! @version $Id: sticky.F90,v 1.15 2005-10-12 18:59:16 chuckv Exp $, $Date: 2005-10-12 18:59:16 $, $Name: not supported by cvs2svn $, $Revision: 1.15 $ |
53 |
> |
!! @version $Id: sticky.F90,v 1.16 2005-10-12 20:18:17 chuckv Exp $, $Date: 2005-10-12 20:18:17 $, $Name: not supported by cvs2svn $, $Revision: 1.16 $ |
54 |
|
|
55 |
|
module sticky |
56 |
|
|
682 |
|
|
683 |
|
if (do_pot) then |
684 |
|
#ifdef IS_MPI |
685 |
< |
pot_row(atom1) = pot_row(atom1) + 0.25d0*(v0*s*w)*sw |
686 |
< |
pot_col(atom2) = pot_col(atom2) + 0.25d0*(v0*s*w)*sw |
685 |
> |
pot_row(STICKY_POT,atom1) = pot_row(STICKY_POT,atom1) + 0.25d0*(v0*s*w)*sw |
686 |
> |
pot_col(STICKY_POT,atom2) = pot_col(STICKY_POT,atom2) + 0.25d0*(v0*s*w)*sw |
687 |
|
#else |
688 |
|
pot = pot + 0.5d0*(v0*s*w)*sw |
689 |
|
#endif |