4 |
|
|
5 |
|
!! @author Charles F. Vardeman II |
6 |
|
!! @author Matthew Meineke |
7 |
< |
!! @version $Id: do_Forces.F90,v 1.36 2003-10-30 18:59:20 gezelter Exp $, $Date: 2003-10-30 18:59:20 $, $Name: not supported by cvs2svn $, $Revision: 1.36 $ |
7 |
> |
!! @version $Id: do_Forces.F90,v 1.36.2.1 2003-11-06 18:20:47 mmeineke Exp $, $Date: 2003-11-06 18:20:47 $, $Name: not supported by cvs2svn $, $Revision: 1.36.2.1 $ |
8 |
|
|
9 |
|
module do_Forces |
10 |
|
use force_globals |
354 |
|
|
355 |
|
#else |
356 |
|
|
357 |
< |
if (update_nlist) then |
358 |
< |
|
357 |
> |
if (update_nlist) then |
358 |
> |
|
359 |
|
! save current configuration, contruct neighbor list, |
360 |
|
! and calculate forces |
361 |
|
call saveNeighborList(natoms, q) |
729 |
|
endif |
730 |
|
|
731 |
|
#endif |
732 |
< |
|
732 |
> |
|
733 |
|
end subroutine do_force_loop |
734 |
|
|
735 |
|
subroutine do_pair(i, j, rijsq, d, do_pot, do_stress, u_l, A, f, t, pot) |
908 |
|
|
909 |
|
if( .not.boxIsOrthorhombic ) then |
910 |
|
! calc the scaled coordinates. |
911 |
< |
|
911 |
> |
|
912 |
|
scaled = matmul(HmatInv, d) |
913 |
|
|
914 |
|
! wrap the scaled coordinates |