4 |
|
|
5 |
|
!! @author Charles F. Vardeman II |
6 |
|
!! @author Matthew Meineke |
7 |
< |
!! @version $Id: do_Forces.F90,v 1.7 2003-04-01 16:50:14 chuckv Exp $, $Date: 2003-04-01 16:50:14 $, $Name: not supported by cvs2svn $, $Revision: 1.7 $ |
7 |
> |
!! @version $Id: do_Forces.F90,v 1.10 2003-04-05 02:56:27 gezelter Exp $, $Date: 2003-04-05 02:56:27 $, $Name: not supported by cvs2svn $, $Revision: 1.10 $ |
8 |
|
|
9 |
|
module do_Forces |
10 |
|
use force_globals |
246 |
|
|
247 |
|
!! save current configuration, construct neighbor list, |
248 |
|
!! and calculate forces |
249 |
< |
call saveNeighborList(q) |
249 |
> |
call saveNeighborList(nlocal, q) |
250 |
|
|
251 |
|
neighborListSize = size(list) |
252 |
|
nlist = 0 |
313 |
|
|
314 |
|
! save current configuration, contruct neighbor list, |
315 |
|
! and calculate forces |
316 |
< |
call saveNeighborList(q) |
316 |
> |
call saveNeighborList(natoms, q) |
317 |
|
|
318 |
|
neighborListSize = size(list) |
319 |
|
|
499 |
|
subroutine do_pair(i, j, rijsq, d, do_pot, do_stress, u_l, A, f, t, pot) |
500 |
|
|
501 |
|
real( kind = dp ) :: pot |
502 |
< |
real( kind = dp ), dimension(:,:) :: u_l |
503 |
< |
real (kind=dp), dimension(:,:) :: A |
504 |
< |
real (kind=dp), dimension(:,:) :: f |
505 |
< |
real (kind=dp), dimension(:,:) :: t |
502 |
> |
real( kind = dp ), dimension(3,getNlocal()) :: u_l |
503 |
> |
real (kind=dp), dimension(9,getNlocal()) :: A |
504 |
> |
real (kind=dp), dimension(3,getNlocal()) :: f |
505 |
> |
real (kind=dp), dimension(3,getNlocal()) :: t |
506 |
|
|
507 |
|
logical, intent(inout) :: do_pot, do_stress |
508 |
|
integer, intent(in) :: i, j |