4 |
|
|
5 |
|
!! @author Charles F. Vardeman II |
6 |
|
!! @author Matthew Meineke |
7 |
< |
!! @version $Id: do_Forces.F90,v 1.52 2004-04-28 21:39:22 gezelter Exp $, $Date: 2004-04-28 21:39:22 $, $Name: not supported by cvs2svn $, $Revision: 1.52 $ |
7 |
> |
!! @version $Id: do_Forces.F90,v 1.53 2004-05-01 18:52:38 tim Exp $, $Date: 2004-05-01 18:52:38 $, $Name: not supported by cvs2svn $, $Revision: 1.53 $ |
8 |
|
|
9 |
|
module do_Forces |
10 |
|
use force_globals |
161 |
|
SIM_requires_prepair_calc = SimRequiresPrepairCalc() |
162 |
|
SIM_uses_directional_atoms = SimUsesDirectionalAtoms() |
163 |
|
SIM_uses_PBC = SimUsesPBC() |
164 |
< |
SIM_uses_molecular_cutoffs = SimUsesMolecularCutoffs() |
164 |
> |
!SIM_uses_molecular_cutoffs = SimUsesMolecularCutoffs() |
165 |
|
|
166 |
|
haveSIMvariables = .true. |
167 |
|
|
370 |
|
|
371 |
|
!! Does force loop over i,j pairs. Calls do_pair to calculates forces. |
372 |
|
!-------------------------------------------------------------> |
373 |
< |
subroutine do_force_loop(q, qcom, mfact, A, u_l, f, t, tau, pot, & |
373 |
> |
subroutine do_force_loop(q, qcom, A, u_l, f, t, tau, pot, & |
374 |
|
do_pot_c, do_stress_c, error) |
375 |
|
!! Position array provided by C, dimensioned by getNlocal |
376 |
|
real ( kind = dp ), dimension(3,nLocal) :: q |
377 |
|
!! molecular center-of-mass position array |
378 |
|
real ( kind = dp ), dimension(3,nLocal) :: qcom |
379 |
– |
!! mass factors used for molecular cutoffs |
380 |
– |
real ( kind = dp ), dimension(3,nLocal) :: mfact |
379 |
|
!! Rotation Matrix for each long range particle in simulation. |
380 |
|
real( kind = dp), dimension(9,nLocal) :: A |
381 |
|
!! Unit vectors for dipoles (lab frame) |