1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
module fftw3_f77_interfaces
use iso_c_binding, only: c_int, c_intptr_t, c_float_complex, c_float
implicit none
interface
subroutine sfftw_destroy_plan(plan)
import :: c_intptr_t
implicit none
integer(c_intptr_t) :: plan
end subroutine sfftw_destroy_plan
subroutine sfftw_plan_dft_1d(plan, n, in, out, sign, flags)
import :: c_int, c_intptr_t, c_float_complex
implicit none
integer(c_intptr_t) :: plan
integer(c_int) :: n, sign, flags
complex(c_float_complex) :: in(*), out(*)
end subroutine sfftw_plan_dft_1d
subroutine sfftw_plan_dft_r2c_1d(plan, n, in, out, flags)
import :: c_int, c_intptr_t, c_float_complex
implicit none
integer(c_intptr_t) :: plan
integer(c_int) :: n, flags
complex(c_float_complex) :: in(*), out(*)
end subroutine sfftw_plan_dft_r2c_1d
subroutine sfftw_plan_dft_c2r_1d(plan, n, in, out, flags)
import :: c_int, c_intptr_t, c_float_complex
implicit none
integer(c_intptr_t) :: plan
integer(c_int) :: n, flags
complex(c_float_complex) :: in(*), out(*)
end subroutine sfftw_plan_dft_c2r_1d
subroutine sfftw_execute(plan)
import :: c_intptr_t
implicit none
integer(c_intptr_t) :: plan
end subroutine sfftw_execute
end interface
end module fftw3_f77_interfaces
|