summaryrefslogtreecommitdiff
path: root/map65/libm65/fftw3_f77_interfaces.f90
diff options
context:
space:
mode:
authorhibby <d@vehibberd.com>2026-10-06 21:24:40 +0100
committerhibby <d@vehibberd.com>2026-10-06 21:24:40 +0100
commitc25cbdf6fb6d946175f4335fab77bfea601b56db (patch)
tree6f7a94b7b81f999e434f61b73d47e337dfd26bf2 /map65/libm65/fftw3_f77_interfaces.f90
parent71f5689252c9f13e70e1c24856904475b2307809 (diff)
parent0685fcada9f95fe90f70b387cd7d757da8209624 (diff)
Merge tag 'debian/3.2.0_rc1+dfsg-2' into debian/trixie-backportsdebian/trixie-backports
tagging wsjtx 3.2.0~rc1+dfsg-2
Diffstat (limited to 'map65/libm65/fftw3_f77_interfaces.f90')
-rw-r--r--map65/libm65/fftw3_f77_interfaces.f9044
1 files changed, 44 insertions, 0 deletions
diff --git a/map65/libm65/fftw3_f77_interfaces.f90 b/map65/libm65/fftw3_f77_interfaces.f90
new file mode 100644
index 00000000..1b5af220
--- /dev/null
+++ b/map65/libm65/fftw3_f77_interfaces.f90
@@ -0,0 +1,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
+