10 |
|
|
11 |
|
end subroutine initFortranFF |
12 |
|
|
13 |
< |
subroutine doForceloop(q, q_group, A, eFrame, f, t, tau, pot, & |
13 |
> |
subroutine doForceloop(q, q_group, A, eFrame, f, t, tau, pot, particle_pot, & |
14 |
|
do_pot_c, do_stress_c, error) |
15 |
|
|
16 |
|
use definitions, ONLY: dp |
36 |
|
!! Stress Tensor |
37 |
|
real( kind = dp), dimension(9) :: tau |
38 |
|
real ( kind = dp ),dimension(LR_POT_TYPES) :: pot |
39 |
+ |
real( kind = dp ), dimension(nLocal) :: particle_pot |
40 |
|
logical ( kind = 2) :: do_pot_c, do_stress_c |
41 |
|
integer :: error |
42 |
|
|
43 |
< |
call do_force_loop(q, q_group, A, eFrame, f, t, tau, pot, & |
43 |
> |
call do_force_loop(q, q_group, A, eFrame, f, t, tau, pot, particle_pot, & |
44 |
|
do_pot_c, do_stress_c, error) |
45 |
|
|
46 |
|
end subroutine doForceloop |