1 |
|
!! Interfaces for C programs to module.... |
2 |
|
|
3 |
< |
subroutine initFortranFF(use_RF_c, thisStat) |
3 |
> |
subroutine initFortranFF(correctionMethod, dampingAlpha, thisStat) |
4 |
|
use doForces, ONLY: init_FF |
5 |
< |
logical, intent(in) :: use_RF_c |
5 |
> |
use definitions, ONLY : dp |
6 |
|
|
7 |
< |
integer, intent(out) :: thisStat |
8 |
< |
call init_FF(use_RF_c, thisStat) |
7 |
> |
integer, intent(in) :: correctionMethod |
8 |
> |
real(kind=dp), intent(in) :: dampingAlpha |
9 |
> |
integer, intent(out) :: thisStat |
10 |
> |
logical :: use_RF |
11 |
> |
integer :: correction |
12 |
> |
real(kind=dp) :: alpha |
13 |
> |
|
14 |
> |
correction = correctionMethod |
15 |
> |
alpha = dampingAlpha |
16 |
> |
|
17 |
> |
call init_FF(correction, alpha, thisStat) |
18 |
|
|
19 |
|
end subroutine initFortranFF |
20 |
|
|
47 |
|
do_pot_c, do_stress_c, error) |
48 |
|
|
49 |
|
end subroutine doForceloop |
50 |
+ |
|