4 |
|
|
5 |
|
!! @author Charles F. Vardeman II |
6 |
|
!! @author Matthew Meineke |
7 |
< |
!! @version $Id: do_Forces.F90,v 1.30 2003-08-26 20:37:30 tim Exp $, $Date: 2003-08-26 20:37:30 $, $Name: not supported by cvs2svn $, $Revision: 1.30 $ |
7 |
> |
!! @version $Id: do_Forces.F90,v 1.37 2003-11-21 19:31:05 chrisfen Exp $, $Date: 2003-11-21 19:31:05 $, $Name: not supported by cvs2svn $, $Revision: 1.37 $ |
8 |
|
|
9 |
|
module do_Forces |
10 |
|
use force_globals |
154 |
|
|
155 |
|
|
156 |
|
if (FF_uses_EAM) then |
157 |
< |
call init_EAM_FF(my_status) |
157 |
> |
call init_EAM_FF(my_status) |
158 |
|
if (my_status /= 0) then |
159 |
+ |
write(*,*) "init_EAM_FF returned a bad status" |
160 |
|
thisStat = -1 |
161 |
|
return |
162 |
|
end if |
231 |
|
integer :: listerror, error |
232 |
|
integer :: localError |
233 |
|
|
234 |
< |
real(kind=dp) :: listSkin = 1.0 |
234 |
< |
|
234 |
> |
real(kind=dp) :: listSkin = 1.0 |
235 |
|
|
236 |
|
!! initialize local variables |
237 |
|
|
444 |
|
#ifdef IS_MPI |
445 |
|
|
446 |
|
if (update_nlist) then |
447 |
– |
|
447 |
|
!! save current configuration, construct neighbor list, |
448 |
|
!! and calculate forces |
449 |
|
call saveNeighborList(nlocal, q) |
509 |
|
#else |
510 |
|
|
511 |
|
if (update_nlist) then |
512 |
< |
|
512 |
> |
|
513 |
|
! save current configuration, contruct neighbor list, |
514 |
|
! and calculate forces |
515 |
|
call saveNeighborList(natoms, q) |
728 |
|
endif |
729 |
|
|
730 |
|
#endif |
732 |
– |
|
733 |
– |
|
731 |
|
|
732 |
|
end subroutine do_force_loop |
733 |
|
|