1 |
|
!! Interfaces for C programs to module.... |
2 |
|
|
3 |
< |
subroutine initFortranFF(use_RF_c, thisStat) |
3 |
> |
subroutine initFortranFF(correctionMethod, 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 |
> |
integer, intent(out) :: thisStat |
9 |
> |
integer :: correction |
10 |
> |
|
11 |
> |
correction = correctionMethod |
12 |
> |
|
13 |
> |
call init_FF(correction, thisStat) |
14 |
|
|
15 |
|
end subroutine initFortranFF |
16 |
|
|
43 |
|
do_pot_c, do_stress_c, error) |
44 |
|
|
45 |
|
end subroutine doForceloop |
46 |
+ |
|