1 |
|
!! Interfaces for C programs to module.... |
2 |
|
|
3 |
< |
subroutine initFortranFF(use_RF_c, correctionMethod, dampingAlpha, thisStat) |
3 |
> |
subroutine initFortranFF(correctionMethod, thisStat) |
4 |
|
use doForces, ONLY: init_FF |
5 |
|
use definitions, ONLY : dp |
6 |
|
|
7 |
– |
integer, intent(in) :: use_RF_c |
7 |
|
integer, intent(in) :: correctionMethod |
9 |
– |
real(kind=dp), intent(in) :: dampingAlpha |
8 |
|
integer, intent(out) :: thisStat |
11 |
– |
logical :: use_RF |
9 |
|
integer :: correction |
13 |
– |
real(kind=dp) :: alpha |
10 |
|
|
15 |
– |
|
16 |
– |
use_RF = (use_RF_c .ne. 0) |
11 |
|
correction = correctionMethod |
18 |
– |
alpha = dampingAlpha |
12 |
|
|
13 |
< |
call init_FF(use_RF, correction, alpha, thisStat) |
13 |
> |
call init_FF(correction, thisStat) |
14 |
|
|
15 |
|
end subroutine initFortranFF |
16 |
|
|