1 |
|
!! Interfaces for C programs to module.... |
2 |
|
|
3 |
< |
subroutine initFortranFF(use_RF_c, thisStat) |
3 |
> |
subroutine initFortranFF(use_RF_c, use_UW_c, use_DW_c, thisStat) |
4 |
|
use doForces, ONLY: init_FF |
5 |
< |
logical, intent(in) :: use_RF_c |
5 |
> |
integer, intent(in) :: use_RF_c |
6 |
> |
integer, intent(in) :: use_UW_c |
7 |
> |
integer, intent(in) :: use_DW_c |
8 |
> |
integer, intent(out) :: thisStat |
9 |
> |
logical :: use_RF, use_UW, use_DW |
10 |
> |
|
11 |
> |
use_RF = (use_RF_c .ne. 0) |
12 |
> |
use_UW = (use_UW_c .ne. 0) |
13 |
> |
use_DW = (use_DW_c .ne. 0) |
14 |
|
|
15 |
< |
integer, intent(out) :: thisStat |
8 |
< |
call init_FF(use_RF_c, thisStat) |
15 |
> |
call init_FF(use_RF, use_UW, use_DW, thisStat) |
16 |
|
|
17 |
|
end subroutine initFortranFF |
18 |
|
|
45 |
|
do_pot_c, do_stress_c, error) |
46 |
|
|
47 |
|
end subroutine doForceloop |
48 |
+ |
|