annotate fft/fftw/fftw-3.3.4/api/fftw3l.f03 @ 40:223f770b5341 kissfft-double tip

Try a double-precision kissfft
author Chris Cannam
date Wed, 07 Sep 2016 10:40:32 +0100
parents 26056e866c29
children
rev   line source
Chris@19 1 ! Generated automatically. DO NOT EDIT!
Chris@19 2
Chris@19 3
Chris@19 4 type, bind(C) :: fftwl_iodim
Chris@19 5 integer(C_INT) n, is, os
Chris@19 6 end type fftwl_iodim
Chris@19 7 type, bind(C) :: fftwl_iodim64
Chris@19 8 integer(C_INTPTR_T) n, is, os
Chris@19 9 end type fftwl_iodim64
Chris@19 10
Chris@19 11 interface
Chris@19 12 type(C_PTR) function fftwl_plan_dft(rank,n,in,out,sign,flags) bind(C, name='fftwl_plan_dft')
Chris@19 13 import
Chris@19 14 integer(C_INT), value :: rank
Chris@19 15 integer(C_INT), dimension(*), intent(in) :: n
Chris@19 16 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: in
Chris@19 17 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
Chris@19 18 integer(C_INT), value :: sign
Chris@19 19 integer(C_INT), value :: flags
Chris@19 20 end function fftwl_plan_dft
Chris@19 21
Chris@19 22 type(C_PTR) function fftwl_plan_dft_1d(n,in,out,sign,flags) bind(C, name='fftwl_plan_dft_1d')
Chris@19 23 import
Chris@19 24 integer(C_INT), value :: n
Chris@19 25 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: in
Chris@19 26 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
Chris@19 27 integer(C_INT), value :: sign
Chris@19 28 integer(C_INT), value :: flags
Chris@19 29 end function fftwl_plan_dft_1d
Chris@19 30
Chris@19 31 type(C_PTR) function fftwl_plan_dft_2d(n0,n1,in,out,sign,flags) bind(C, name='fftwl_plan_dft_2d')
Chris@19 32 import
Chris@19 33 integer(C_INT), value :: n0
Chris@19 34 integer(C_INT), value :: n1
Chris@19 35 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: in
Chris@19 36 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
Chris@19 37 integer(C_INT), value :: sign
Chris@19 38 integer(C_INT), value :: flags
Chris@19 39 end function fftwl_plan_dft_2d
Chris@19 40
Chris@19 41 type(C_PTR) function fftwl_plan_dft_3d(n0,n1,n2,in,out,sign,flags) bind(C, name='fftwl_plan_dft_3d')
Chris@19 42 import
Chris@19 43 integer(C_INT), value :: n0
Chris@19 44 integer(C_INT), value :: n1
Chris@19 45 integer(C_INT), value :: n2
Chris@19 46 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: in
Chris@19 47 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
Chris@19 48 integer(C_INT), value :: sign
Chris@19 49 integer(C_INT), value :: flags
Chris@19 50 end function fftwl_plan_dft_3d
Chris@19 51
Chris@19 52 type(C_PTR) function fftwl_plan_many_dft(rank,n,howmany,in,inembed,istride,idist,out,onembed,ostride,odist,sign,flags) &
Chris@19 53 bind(C, name='fftwl_plan_many_dft')
Chris@19 54 import
Chris@19 55 integer(C_INT), value :: rank
Chris@19 56 integer(C_INT), dimension(*), intent(in) :: n
Chris@19 57 integer(C_INT), value :: howmany
Chris@19 58 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: in
Chris@19 59 integer(C_INT), dimension(*), intent(in) :: inembed
Chris@19 60 integer(C_INT), value :: istride
Chris@19 61 integer(C_INT), value :: idist
Chris@19 62 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
Chris@19 63 integer(C_INT), dimension(*), intent(in) :: onembed
Chris@19 64 integer(C_INT), value :: ostride
Chris@19 65 integer(C_INT), value :: odist
Chris@19 66 integer(C_INT), value :: sign
Chris@19 67 integer(C_INT), value :: flags
Chris@19 68 end function fftwl_plan_many_dft
Chris@19 69
Chris@19 70 type(C_PTR) function fftwl_plan_guru_dft(rank,dims,howmany_rank,howmany_dims,in,out,sign,flags) &
Chris@19 71 bind(C, name='fftwl_plan_guru_dft')
Chris@19 72 import
Chris@19 73 integer(C_INT), value :: rank
Chris@19 74 type(fftwl_iodim), dimension(*), intent(in) :: dims
Chris@19 75 integer(C_INT), value :: howmany_rank
Chris@19 76 type(fftwl_iodim), dimension(*), intent(in) :: howmany_dims
Chris@19 77 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: in
Chris@19 78 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
Chris@19 79 integer(C_INT), value :: sign
Chris@19 80 integer(C_INT), value :: flags
Chris@19 81 end function fftwl_plan_guru_dft
Chris@19 82
Chris@19 83 type(C_PTR) function fftwl_plan_guru_split_dft(rank,dims,howmany_rank,howmany_dims,ri,ii,ro,io,flags) &
Chris@19 84 bind(C, name='fftwl_plan_guru_split_dft')
Chris@19 85 import
Chris@19 86 integer(C_INT), value :: rank
Chris@19 87 type(fftwl_iodim), dimension(*), intent(in) :: dims
Chris@19 88 integer(C_INT), value :: howmany_rank
Chris@19 89 type(fftwl_iodim), dimension(*), intent(in) :: howmany_dims
Chris@19 90 real(C_LONG_DOUBLE), dimension(*), intent(out) :: ri
Chris@19 91 real(C_LONG_DOUBLE), dimension(*), intent(out) :: ii
Chris@19 92 real(C_LONG_DOUBLE), dimension(*), intent(out) :: ro
Chris@19 93 real(C_LONG_DOUBLE), dimension(*), intent(out) :: io
Chris@19 94 integer(C_INT), value :: flags
Chris@19 95 end function fftwl_plan_guru_split_dft
Chris@19 96
Chris@19 97 type(C_PTR) function fftwl_plan_guru64_dft(rank,dims,howmany_rank,howmany_dims,in,out,sign,flags) &
Chris@19 98 bind(C, name='fftwl_plan_guru64_dft')
Chris@19 99 import
Chris@19 100 integer(C_INT), value :: rank
Chris@19 101 type(fftwl_iodim64), dimension(*), intent(in) :: dims
Chris@19 102 integer(C_INT), value :: howmany_rank
Chris@19 103 type(fftwl_iodim64), dimension(*), intent(in) :: howmany_dims
Chris@19 104 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: in
Chris@19 105 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
Chris@19 106 integer(C_INT), value :: sign
Chris@19 107 integer(C_INT), value :: flags
Chris@19 108 end function fftwl_plan_guru64_dft
Chris@19 109
Chris@19 110 type(C_PTR) function fftwl_plan_guru64_split_dft(rank,dims,howmany_rank,howmany_dims,ri,ii,ro,io,flags) &
Chris@19 111 bind(C, name='fftwl_plan_guru64_split_dft')
Chris@19 112 import
Chris@19 113 integer(C_INT), value :: rank
Chris@19 114 type(fftwl_iodim64), dimension(*), intent(in) :: dims
Chris@19 115 integer(C_INT), value :: howmany_rank
Chris@19 116 type(fftwl_iodim64), dimension(*), intent(in) :: howmany_dims
Chris@19 117 real(C_LONG_DOUBLE), dimension(*), intent(out) :: ri
Chris@19 118 real(C_LONG_DOUBLE), dimension(*), intent(out) :: ii
Chris@19 119 real(C_LONG_DOUBLE), dimension(*), intent(out) :: ro
Chris@19 120 real(C_LONG_DOUBLE), dimension(*), intent(out) :: io
Chris@19 121 integer(C_INT), value :: flags
Chris@19 122 end function fftwl_plan_guru64_split_dft
Chris@19 123
Chris@19 124 subroutine fftwl_execute_dft(p,in,out) bind(C, name='fftwl_execute_dft')
Chris@19 125 import
Chris@19 126 type(C_PTR), value :: p
Chris@19 127 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(inout) :: in
Chris@19 128 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
Chris@19 129 end subroutine fftwl_execute_dft
Chris@19 130
Chris@19 131 subroutine fftwl_execute_split_dft(p,ri,ii,ro,io) bind(C, name='fftwl_execute_split_dft')
Chris@19 132 import
Chris@19 133 type(C_PTR), value :: p
Chris@19 134 real(C_LONG_DOUBLE), dimension(*), intent(inout) :: ri
Chris@19 135 real(C_LONG_DOUBLE), dimension(*), intent(inout) :: ii
Chris@19 136 real(C_LONG_DOUBLE), dimension(*), intent(out) :: ro
Chris@19 137 real(C_LONG_DOUBLE), dimension(*), intent(out) :: io
Chris@19 138 end subroutine fftwl_execute_split_dft
Chris@19 139
Chris@19 140 type(C_PTR) function fftwl_plan_many_dft_r2c(rank,n,howmany,in,inembed,istride,idist,out,onembed,ostride,odist,flags) &
Chris@19 141 bind(C, name='fftwl_plan_many_dft_r2c')
Chris@19 142 import
Chris@19 143 integer(C_INT), value :: rank
Chris@19 144 integer(C_INT), dimension(*), intent(in) :: n
Chris@19 145 integer(C_INT), value :: howmany
Chris@19 146 real(C_LONG_DOUBLE), dimension(*), intent(out) :: in
Chris@19 147 integer(C_INT), dimension(*), intent(in) :: inembed
Chris@19 148 integer(C_INT), value :: istride
Chris@19 149 integer(C_INT), value :: idist
Chris@19 150 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
Chris@19 151 integer(C_INT), dimension(*), intent(in) :: onembed
Chris@19 152 integer(C_INT), value :: ostride
Chris@19 153 integer(C_INT), value :: odist
Chris@19 154 integer(C_INT), value :: flags
Chris@19 155 end function fftwl_plan_many_dft_r2c
Chris@19 156
Chris@19 157 type(C_PTR) function fftwl_plan_dft_r2c(rank,n,in,out,flags) bind(C, name='fftwl_plan_dft_r2c')
Chris@19 158 import
Chris@19 159 integer(C_INT), value :: rank
Chris@19 160 integer(C_INT), dimension(*), intent(in) :: n
Chris@19 161 real(C_LONG_DOUBLE), dimension(*), intent(out) :: in
Chris@19 162 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
Chris@19 163 integer(C_INT), value :: flags
Chris@19 164 end function fftwl_plan_dft_r2c
Chris@19 165
Chris@19 166 type(C_PTR) function fftwl_plan_dft_r2c_1d(n,in,out,flags) bind(C, name='fftwl_plan_dft_r2c_1d')
Chris@19 167 import
Chris@19 168 integer(C_INT), value :: n
Chris@19 169 real(C_LONG_DOUBLE), dimension(*), intent(out) :: in
Chris@19 170 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
Chris@19 171 integer(C_INT), value :: flags
Chris@19 172 end function fftwl_plan_dft_r2c_1d
Chris@19 173
Chris@19 174 type(C_PTR) function fftwl_plan_dft_r2c_2d(n0,n1,in,out,flags) bind(C, name='fftwl_plan_dft_r2c_2d')
Chris@19 175 import
Chris@19 176 integer(C_INT), value :: n0
Chris@19 177 integer(C_INT), value :: n1
Chris@19 178 real(C_LONG_DOUBLE), dimension(*), intent(out) :: in
Chris@19 179 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
Chris@19 180 integer(C_INT), value :: flags
Chris@19 181 end function fftwl_plan_dft_r2c_2d
Chris@19 182
Chris@19 183 type(C_PTR) function fftwl_plan_dft_r2c_3d(n0,n1,n2,in,out,flags) bind(C, name='fftwl_plan_dft_r2c_3d')
Chris@19 184 import
Chris@19 185 integer(C_INT), value :: n0
Chris@19 186 integer(C_INT), value :: n1
Chris@19 187 integer(C_INT), value :: n2
Chris@19 188 real(C_LONG_DOUBLE), dimension(*), intent(out) :: in
Chris@19 189 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
Chris@19 190 integer(C_INT), value :: flags
Chris@19 191 end function fftwl_plan_dft_r2c_3d
Chris@19 192
Chris@19 193 type(C_PTR) function fftwl_plan_many_dft_c2r(rank,n,howmany,in,inembed,istride,idist,out,onembed,ostride,odist,flags) &
Chris@19 194 bind(C, name='fftwl_plan_many_dft_c2r')
Chris@19 195 import
Chris@19 196 integer(C_INT), value :: rank
Chris@19 197 integer(C_INT), dimension(*), intent(in) :: n
Chris@19 198 integer(C_INT), value :: howmany
Chris@19 199 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: in
Chris@19 200 integer(C_INT), dimension(*), intent(in) :: inembed
Chris@19 201 integer(C_INT), value :: istride
Chris@19 202 integer(C_INT), value :: idist
Chris@19 203 real(C_LONG_DOUBLE), dimension(*), intent(out) :: out
Chris@19 204 integer(C_INT), dimension(*), intent(in) :: onembed
Chris@19 205 integer(C_INT), value :: ostride
Chris@19 206 integer(C_INT), value :: odist
Chris@19 207 integer(C_INT), value :: flags
Chris@19 208 end function fftwl_plan_many_dft_c2r
Chris@19 209
Chris@19 210 type(C_PTR) function fftwl_plan_dft_c2r(rank,n,in,out,flags) bind(C, name='fftwl_plan_dft_c2r')
Chris@19 211 import
Chris@19 212 integer(C_INT), value :: rank
Chris@19 213 integer(C_INT), dimension(*), intent(in) :: n
Chris@19 214 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: in
Chris@19 215 real(C_LONG_DOUBLE), dimension(*), intent(out) :: out
Chris@19 216 integer(C_INT), value :: flags
Chris@19 217 end function fftwl_plan_dft_c2r
Chris@19 218
Chris@19 219 type(C_PTR) function fftwl_plan_dft_c2r_1d(n,in,out,flags) bind(C, name='fftwl_plan_dft_c2r_1d')
Chris@19 220 import
Chris@19 221 integer(C_INT), value :: n
Chris@19 222 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: in
Chris@19 223 real(C_LONG_DOUBLE), dimension(*), intent(out) :: out
Chris@19 224 integer(C_INT), value :: flags
Chris@19 225 end function fftwl_plan_dft_c2r_1d
Chris@19 226
Chris@19 227 type(C_PTR) function fftwl_plan_dft_c2r_2d(n0,n1,in,out,flags) bind(C, name='fftwl_plan_dft_c2r_2d')
Chris@19 228 import
Chris@19 229 integer(C_INT), value :: n0
Chris@19 230 integer(C_INT), value :: n1
Chris@19 231 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: in
Chris@19 232 real(C_LONG_DOUBLE), dimension(*), intent(out) :: out
Chris@19 233 integer(C_INT), value :: flags
Chris@19 234 end function fftwl_plan_dft_c2r_2d
Chris@19 235
Chris@19 236 type(C_PTR) function fftwl_plan_dft_c2r_3d(n0,n1,n2,in,out,flags) bind(C, name='fftwl_plan_dft_c2r_3d')
Chris@19 237 import
Chris@19 238 integer(C_INT), value :: n0
Chris@19 239 integer(C_INT), value :: n1
Chris@19 240 integer(C_INT), value :: n2
Chris@19 241 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: in
Chris@19 242 real(C_LONG_DOUBLE), dimension(*), intent(out) :: out
Chris@19 243 integer(C_INT), value :: flags
Chris@19 244 end function fftwl_plan_dft_c2r_3d
Chris@19 245
Chris@19 246 type(C_PTR) function fftwl_plan_guru_dft_r2c(rank,dims,howmany_rank,howmany_dims,in,out,flags) &
Chris@19 247 bind(C, name='fftwl_plan_guru_dft_r2c')
Chris@19 248 import
Chris@19 249 integer(C_INT), value :: rank
Chris@19 250 type(fftwl_iodim), dimension(*), intent(in) :: dims
Chris@19 251 integer(C_INT), value :: howmany_rank
Chris@19 252 type(fftwl_iodim), dimension(*), intent(in) :: howmany_dims
Chris@19 253 real(C_LONG_DOUBLE), dimension(*), intent(out) :: in
Chris@19 254 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
Chris@19 255 integer(C_INT), value :: flags
Chris@19 256 end function fftwl_plan_guru_dft_r2c
Chris@19 257
Chris@19 258 type(C_PTR) function fftwl_plan_guru_dft_c2r(rank,dims,howmany_rank,howmany_dims,in,out,flags) &
Chris@19 259 bind(C, name='fftwl_plan_guru_dft_c2r')
Chris@19 260 import
Chris@19 261 integer(C_INT), value :: rank
Chris@19 262 type(fftwl_iodim), dimension(*), intent(in) :: dims
Chris@19 263 integer(C_INT), value :: howmany_rank
Chris@19 264 type(fftwl_iodim), dimension(*), intent(in) :: howmany_dims
Chris@19 265 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: in
Chris@19 266 real(C_LONG_DOUBLE), dimension(*), intent(out) :: out
Chris@19 267 integer(C_INT), value :: flags
Chris@19 268 end function fftwl_plan_guru_dft_c2r
Chris@19 269
Chris@19 270 type(C_PTR) function fftwl_plan_guru_split_dft_r2c(rank,dims,howmany_rank,howmany_dims,in,ro,io,flags) &
Chris@19 271 bind(C, name='fftwl_plan_guru_split_dft_r2c')
Chris@19 272 import
Chris@19 273 integer(C_INT), value :: rank
Chris@19 274 type(fftwl_iodim), dimension(*), intent(in) :: dims
Chris@19 275 integer(C_INT), value :: howmany_rank
Chris@19 276 type(fftwl_iodim), dimension(*), intent(in) :: howmany_dims
Chris@19 277 real(C_LONG_DOUBLE), dimension(*), intent(out) :: in
Chris@19 278 real(C_LONG_DOUBLE), dimension(*), intent(out) :: ro
Chris@19 279 real(C_LONG_DOUBLE), dimension(*), intent(out) :: io
Chris@19 280 integer(C_INT), value :: flags
Chris@19 281 end function fftwl_plan_guru_split_dft_r2c
Chris@19 282
Chris@19 283 type(C_PTR) function fftwl_plan_guru_split_dft_c2r(rank,dims,howmany_rank,howmany_dims,ri,ii,out,flags) &
Chris@19 284 bind(C, name='fftwl_plan_guru_split_dft_c2r')
Chris@19 285 import
Chris@19 286 integer(C_INT), value :: rank
Chris@19 287 type(fftwl_iodim), dimension(*), intent(in) :: dims
Chris@19 288 integer(C_INT), value :: howmany_rank
Chris@19 289 type(fftwl_iodim), dimension(*), intent(in) :: howmany_dims
Chris@19 290 real(C_LONG_DOUBLE), dimension(*), intent(out) :: ri
Chris@19 291 real(C_LONG_DOUBLE), dimension(*), intent(out) :: ii
Chris@19 292 real(C_LONG_DOUBLE), dimension(*), intent(out) :: out
Chris@19 293 integer(C_INT), value :: flags
Chris@19 294 end function fftwl_plan_guru_split_dft_c2r
Chris@19 295
Chris@19 296 type(C_PTR) function fftwl_plan_guru64_dft_r2c(rank,dims,howmany_rank,howmany_dims,in,out,flags) &
Chris@19 297 bind(C, name='fftwl_plan_guru64_dft_r2c')
Chris@19 298 import
Chris@19 299 integer(C_INT), value :: rank
Chris@19 300 type(fftwl_iodim64), dimension(*), intent(in) :: dims
Chris@19 301 integer(C_INT), value :: howmany_rank
Chris@19 302 type(fftwl_iodim64), dimension(*), intent(in) :: howmany_dims
Chris@19 303 real(C_LONG_DOUBLE), dimension(*), intent(out) :: in
Chris@19 304 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
Chris@19 305 integer(C_INT), value :: flags
Chris@19 306 end function fftwl_plan_guru64_dft_r2c
Chris@19 307
Chris@19 308 type(C_PTR) function fftwl_plan_guru64_dft_c2r(rank,dims,howmany_rank,howmany_dims,in,out,flags) &
Chris@19 309 bind(C, name='fftwl_plan_guru64_dft_c2r')
Chris@19 310 import
Chris@19 311 integer(C_INT), value :: rank
Chris@19 312 type(fftwl_iodim64), dimension(*), intent(in) :: dims
Chris@19 313 integer(C_INT), value :: howmany_rank
Chris@19 314 type(fftwl_iodim64), dimension(*), intent(in) :: howmany_dims
Chris@19 315 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: in
Chris@19 316 real(C_LONG_DOUBLE), dimension(*), intent(out) :: out
Chris@19 317 integer(C_INT), value :: flags
Chris@19 318 end function fftwl_plan_guru64_dft_c2r
Chris@19 319
Chris@19 320 type(C_PTR) function fftwl_plan_guru64_split_dft_r2c(rank,dims,howmany_rank,howmany_dims,in,ro,io,flags) &
Chris@19 321 bind(C, name='fftwl_plan_guru64_split_dft_r2c')
Chris@19 322 import
Chris@19 323 integer(C_INT), value :: rank
Chris@19 324 type(fftwl_iodim64), dimension(*), intent(in) :: dims
Chris@19 325 integer(C_INT), value :: howmany_rank
Chris@19 326 type(fftwl_iodim64), dimension(*), intent(in) :: howmany_dims
Chris@19 327 real(C_LONG_DOUBLE), dimension(*), intent(out) :: in
Chris@19 328 real(C_LONG_DOUBLE), dimension(*), intent(out) :: ro
Chris@19 329 real(C_LONG_DOUBLE), dimension(*), intent(out) :: io
Chris@19 330 integer(C_INT), value :: flags
Chris@19 331 end function fftwl_plan_guru64_split_dft_r2c
Chris@19 332
Chris@19 333 type(C_PTR) function fftwl_plan_guru64_split_dft_c2r(rank,dims,howmany_rank,howmany_dims,ri,ii,out,flags) &
Chris@19 334 bind(C, name='fftwl_plan_guru64_split_dft_c2r')
Chris@19 335 import
Chris@19 336 integer(C_INT), value :: rank
Chris@19 337 type(fftwl_iodim64), dimension(*), intent(in) :: dims
Chris@19 338 integer(C_INT), value :: howmany_rank
Chris@19 339 type(fftwl_iodim64), dimension(*), intent(in) :: howmany_dims
Chris@19 340 real(C_LONG_DOUBLE), dimension(*), intent(out) :: ri
Chris@19 341 real(C_LONG_DOUBLE), dimension(*), intent(out) :: ii
Chris@19 342 real(C_LONG_DOUBLE), dimension(*), intent(out) :: out
Chris@19 343 integer(C_INT), value :: flags
Chris@19 344 end function fftwl_plan_guru64_split_dft_c2r
Chris@19 345
Chris@19 346 subroutine fftwl_execute_dft_r2c(p,in,out) bind(C, name='fftwl_execute_dft_r2c')
Chris@19 347 import
Chris@19 348 type(C_PTR), value :: p
Chris@19 349 real(C_LONG_DOUBLE), dimension(*), intent(inout) :: in
Chris@19 350 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
Chris@19 351 end subroutine fftwl_execute_dft_r2c
Chris@19 352
Chris@19 353 subroutine fftwl_execute_dft_c2r(p,in,out) bind(C, name='fftwl_execute_dft_c2r')
Chris@19 354 import
Chris@19 355 type(C_PTR), value :: p
Chris@19 356 complex(C_LONG_DOUBLE_COMPLEX), dimension(*), intent(inout) :: in
Chris@19 357 real(C_LONG_DOUBLE), dimension(*), intent(out) :: out
Chris@19 358 end subroutine fftwl_execute_dft_c2r
Chris@19 359
Chris@19 360 subroutine fftwl_execute_split_dft_r2c(p,in,ro,io) bind(C, name='fftwl_execute_split_dft_r2c')
Chris@19 361 import
Chris@19 362 type(C_PTR), value :: p
Chris@19 363 real(C_LONG_DOUBLE), dimension(*), intent(inout) :: in
Chris@19 364 real(C_LONG_DOUBLE), dimension(*), intent(out) :: ro
Chris@19 365 real(C_LONG_DOUBLE), dimension(*), intent(out) :: io
Chris@19 366 end subroutine fftwl_execute_split_dft_r2c
Chris@19 367
Chris@19 368 subroutine fftwl_execute_split_dft_c2r(p,ri,ii,out) bind(C, name='fftwl_execute_split_dft_c2r')
Chris@19 369 import
Chris@19 370 type(C_PTR), value :: p
Chris@19 371 real(C_LONG_DOUBLE), dimension(*), intent(inout) :: ri
Chris@19 372 real(C_LONG_DOUBLE), dimension(*), intent(inout) :: ii
Chris@19 373 real(C_LONG_DOUBLE), dimension(*), intent(out) :: out
Chris@19 374 end subroutine fftwl_execute_split_dft_c2r
Chris@19 375
Chris@19 376 type(C_PTR) function fftwl_plan_many_r2r(rank,n,howmany,in,inembed,istride,idist,out,onembed,ostride,odist,kind,flags) &
Chris@19 377 bind(C, name='fftwl_plan_many_r2r')
Chris@19 378 import
Chris@19 379 integer(C_INT), value :: rank
Chris@19 380 integer(C_INT), dimension(*), intent(in) :: n
Chris@19 381 integer(C_INT), value :: howmany
Chris@19 382 real(C_LONG_DOUBLE), dimension(*), intent(out) :: in
Chris@19 383 integer(C_INT), dimension(*), intent(in) :: inembed
Chris@19 384 integer(C_INT), value :: istride
Chris@19 385 integer(C_INT), value :: idist
Chris@19 386 real(C_LONG_DOUBLE), dimension(*), intent(out) :: out
Chris@19 387 integer(C_INT), dimension(*), intent(in) :: onembed
Chris@19 388 integer(C_INT), value :: ostride
Chris@19 389 integer(C_INT), value :: odist
Chris@19 390 integer(C_FFTW_R2R_KIND), dimension(*), intent(in) :: kind
Chris@19 391 integer(C_INT), value :: flags
Chris@19 392 end function fftwl_plan_many_r2r
Chris@19 393
Chris@19 394 type(C_PTR) function fftwl_plan_r2r(rank,n,in,out,kind,flags) bind(C, name='fftwl_plan_r2r')
Chris@19 395 import
Chris@19 396 integer(C_INT), value :: rank
Chris@19 397 integer(C_INT), dimension(*), intent(in) :: n
Chris@19 398 real(C_LONG_DOUBLE), dimension(*), intent(out) :: in
Chris@19 399 real(C_LONG_DOUBLE), dimension(*), intent(out) :: out
Chris@19 400 integer(C_FFTW_R2R_KIND), dimension(*), intent(in) :: kind
Chris@19 401 integer(C_INT), value :: flags
Chris@19 402 end function fftwl_plan_r2r
Chris@19 403
Chris@19 404 type(C_PTR) function fftwl_plan_r2r_1d(n,in,out,kind,flags) bind(C, name='fftwl_plan_r2r_1d')
Chris@19 405 import
Chris@19 406 integer(C_INT), value :: n
Chris@19 407 real(C_LONG_DOUBLE), dimension(*), intent(out) :: in
Chris@19 408 real(C_LONG_DOUBLE), dimension(*), intent(out) :: out
Chris@19 409 integer(C_FFTW_R2R_KIND), value :: kind
Chris@19 410 integer(C_INT), value :: flags
Chris@19 411 end function fftwl_plan_r2r_1d
Chris@19 412
Chris@19 413 type(C_PTR) function fftwl_plan_r2r_2d(n0,n1,in,out,kind0,kind1,flags) bind(C, name='fftwl_plan_r2r_2d')
Chris@19 414 import
Chris@19 415 integer(C_INT), value :: n0
Chris@19 416 integer(C_INT), value :: n1
Chris@19 417 real(C_LONG_DOUBLE), dimension(*), intent(out) :: in
Chris@19 418 real(C_LONG_DOUBLE), dimension(*), intent(out) :: out
Chris@19 419 integer(C_FFTW_R2R_KIND), value :: kind0
Chris@19 420 integer(C_FFTW_R2R_KIND), value :: kind1
Chris@19 421 integer(C_INT), value :: flags
Chris@19 422 end function fftwl_plan_r2r_2d
Chris@19 423
Chris@19 424 type(C_PTR) function fftwl_plan_r2r_3d(n0,n1,n2,in,out,kind0,kind1,kind2,flags) bind(C, name='fftwl_plan_r2r_3d')
Chris@19 425 import
Chris@19 426 integer(C_INT), value :: n0
Chris@19 427 integer(C_INT), value :: n1
Chris@19 428 integer(C_INT), value :: n2
Chris@19 429 real(C_LONG_DOUBLE), dimension(*), intent(out) :: in
Chris@19 430 real(C_LONG_DOUBLE), dimension(*), intent(out) :: out
Chris@19 431 integer(C_FFTW_R2R_KIND), value :: kind0
Chris@19 432 integer(C_FFTW_R2R_KIND), value :: kind1
Chris@19 433 integer(C_FFTW_R2R_KIND), value :: kind2
Chris@19 434 integer(C_INT), value :: flags
Chris@19 435 end function fftwl_plan_r2r_3d
Chris@19 436
Chris@19 437 type(C_PTR) function fftwl_plan_guru_r2r(rank,dims,howmany_rank,howmany_dims,in,out,kind,flags) &
Chris@19 438 bind(C, name='fftwl_plan_guru_r2r')
Chris@19 439 import
Chris@19 440 integer(C_INT), value :: rank
Chris@19 441 type(fftwl_iodim), dimension(*), intent(in) :: dims
Chris@19 442 integer(C_INT), value :: howmany_rank
Chris@19 443 type(fftwl_iodim), dimension(*), intent(in) :: howmany_dims
Chris@19 444 real(C_LONG_DOUBLE), dimension(*), intent(out) :: in
Chris@19 445 real(C_LONG_DOUBLE), dimension(*), intent(out) :: out
Chris@19 446 integer(C_FFTW_R2R_KIND), dimension(*), intent(in) :: kind
Chris@19 447 integer(C_INT), value :: flags
Chris@19 448 end function fftwl_plan_guru_r2r
Chris@19 449
Chris@19 450 type(C_PTR) function fftwl_plan_guru64_r2r(rank,dims,howmany_rank,howmany_dims,in,out,kind,flags) &
Chris@19 451 bind(C, name='fftwl_plan_guru64_r2r')
Chris@19 452 import
Chris@19 453 integer(C_INT), value :: rank
Chris@19 454 type(fftwl_iodim64), dimension(*), intent(in) :: dims
Chris@19 455 integer(C_INT), value :: howmany_rank
Chris@19 456 type(fftwl_iodim64), dimension(*), intent(in) :: howmany_dims
Chris@19 457 real(C_LONG_DOUBLE), dimension(*), intent(out) :: in
Chris@19 458 real(C_LONG_DOUBLE), dimension(*), intent(out) :: out
Chris@19 459 integer(C_FFTW_R2R_KIND), dimension(*), intent(in) :: kind
Chris@19 460 integer(C_INT), value :: flags
Chris@19 461 end function fftwl_plan_guru64_r2r
Chris@19 462
Chris@19 463 subroutine fftwl_execute_r2r(p,in,out) bind(C, name='fftwl_execute_r2r')
Chris@19 464 import
Chris@19 465 type(C_PTR), value :: p
Chris@19 466 real(C_LONG_DOUBLE), dimension(*), intent(inout) :: in
Chris@19 467 real(C_LONG_DOUBLE), dimension(*), intent(out) :: out
Chris@19 468 end subroutine fftwl_execute_r2r
Chris@19 469
Chris@19 470 subroutine fftwl_destroy_plan(p) bind(C, name='fftwl_destroy_plan')
Chris@19 471 import
Chris@19 472 type(C_PTR), value :: p
Chris@19 473 end subroutine fftwl_destroy_plan
Chris@19 474
Chris@19 475 subroutine fftwl_forget_wisdom() bind(C, name='fftwl_forget_wisdom')
Chris@19 476 import
Chris@19 477 end subroutine fftwl_forget_wisdom
Chris@19 478
Chris@19 479 subroutine fftwl_cleanup() bind(C, name='fftwl_cleanup')
Chris@19 480 import
Chris@19 481 end subroutine fftwl_cleanup
Chris@19 482
Chris@19 483 subroutine fftwl_set_timelimit(t) bind(C, name='fftwl_set_timelimit')
Chris@19 484 import
Chris@19 485 real(C_DOUBLE), value :: t
Chris@19 486 end subroutine fftwl_set_timelimit
Chris@19 487
Chris@19 488 subroutine fftwl_plan_with_nthreads(nthreads) bind(C, name='fftwl_plan_with_nthreads')
Chris@19 489 import
Chris@19 490 integer(C_INT), value :: nthreads
Chris@19 491 end subroutine fftwl_plan_with_nthreads
Chris@19 492
Chris@19 493 integer(C_INT) function fftwl_init_threads() bind(C, name='fftwl_init_threads')
Chris@19 494 import
Chris@19 495 end function fftwl_init_threads
Chris@19 496
Chris@19 497 subroutine fftwl_cleanup_threads() bind(C, name='fftwl_cleanup_threads')
Chris@19 498 import
Chris@19 499 end subroutine fftwl_cleanup_threads
Chris@19 500
Chris@19 501 integer(C_INT) function fftwl_export_wisdom_to_filename(filename) bind(C, name='fftwl_export_wisdom_to_filename')
Chris@19 502 import
Chris@19 503 character(C_CHAR), dimension(*), intent(in) :: filename
Chris@19 504 end function fftwl_export_wisdom_to_filename
Chris@19 505
Chris@19 506 subroutine fftwl_export_wisdom_to_file(output_file) bind(C, name='fftwl_export_wisdom_to_file')
Chris@19 507 import
Chris@19 508 type(C_PTR), value :: output_file
Chris@19 509 end subroutine fftwl_export_wisdom_to_file
Chris@19 510
Chris@19 511 type(C_PTR) function fftwl_export_wisdom_to_string() bind(C, name='fftwl_export_wisdom_to_string')
Chris@19 512 import
Chris@19 513 end function fftwl_export_wisdom_to_string
Chris@19 514
Chris@19 515 subroutine fftwl_export_wisdom(write_char,data) bind(C, name='fftwl_export_wisdom')
Chris@19 516 import
Chris@19 517 type(C_FUNPTR), value :: write_char
Chris@19 518 type(C_PTR), value :: data
Chris@19 519 end subroutine fftwl_export_wisdom
Chris@19 520
Chris@19 521 integer(C_INT) function fftwl_import_system_wisdom() bind(C, name='fftwl_import_system_wisdom')
Chris@19 522 import
Chris@19 523 end function fftwl_import_system_wisdom
Chris@19 524
Chris@19 525 integer(C_INT) function fftwl_import_wisdom_from_filename(filename) bind(C, name='fftwl_import_wisdom_from_filename')
Chris@19 526 import
Chris@19 527 character(C_CHAR), dimension(*), intent(in) :: filename
Chris@19 528 end function fftwl_import_wisdom_from_filename
Chris@19 529
Chris@19 530 integer(C_INT) function fftwl_import_wisdom_from_file(input_file) bind(C, name='fftwl_import_wisdom_from_file')
Chris@19 531 import
Chris@19 532 type(C_PTR), value :: input_file
Chris@19 533 end function fftwl_import_wisdom_from_file
Chris@19 534
Chris@19 535 integer(C_INT) function fftwl_import_wisdom_from_string(input_string) bind(C, name='fftwl_import_wisdom_from_string')
Chris@19 536 import
Chris@19 537 character(C_CHAR), dimension(*), intent(in) :: input_string
Chris@19 538 end function fftwl_import_wisdom_from_string
Chris@19 539
Chris@19 540 integer(C_INT) function fftwl_import_wisdom(read_char,data) bind(C, name='fftwl_import_wisdom')
Chris@19 541 import
Chris@19 542 type(C_FUNPTR), value :: read_char
Chris@19 543 type(C_PTR), value :: data
Chris@19 544 end function fftwl_import_wisdom
Chris@19 545
Chris@19 546 subroutine fftwl_fprint_plan(p,output_file) bind(C, name='fftwl_fprint_plan')
Chris@19 547 import
Chris@19 548 type(C_PTR), value :: p
Chris@19 549 type(C_PTR), value :: output_file
Chris@19 550 end subroutine fftwl_fprint_plan
Chris@19 551
Chris@19 552 subroutine fftwl_print_plan(p) bind(C, name='fftwl_print_plan')
Chris@19 553 import
Chris@19 554 type(C_PTR), value :: p
Chris@19 555 end subroutine fftwl_print_plan
Chris@19 556
Chris@19 557 type(C_PTR) function fftwl_sprint_plan(p) bind(C, name='fftwl_sprint_plan')
Chris@19 558 import
Chris@19 559 type(C_PTR), value :: p
Chris@19 560 end function fftwl_sprint_plan
Chris@19 561
Chris@19 562 type(C_PTR) function fftwl_malloc(n) bind(C, name='fftwl_malloc')
Chris@19 563 import
Chris@19 564 integer(C_SIZE_T), value :: n
Chris@19 565 end function fftwl_malloc
Chris@19 566
Chris@19 567 type(C_PTR) function fftwl_alloc_real(n) bind(C, name='fftwl_alloc_real')
Chris@19 568 import
Chris@19 569 integer(C_SIZE_T), value :: n
Chris@19 570 end function fftwl_alloc_real
Chris@19 571
Chris@19 572 type(C_PTR) function fftwl_alloc_complex(n) bind(C, name='fftwl_alloc_complex')
Chris@19 573 import
Chris@19 574 integer(C_SIZE_T), value :: n
Chris@19 575 end function fftwl_alloc_complex
Chris@19 576
Chris@19 577 subroutine fftwl_free(p) bind(C, name='fftwl_free')
Chris@19 578 import
Chris@19 579 type(C_PTR), value :: p
Chris@19 580 end subroutine fftwl_free
Chris@19 581
Chris@19 582 subroutine fftwl_flops(p,add,mul,fmas) bind(C, name='fftwl_flops')
Chris@19 583 import
Chris@19 584 type(C_PTR), value :: p
Chris@19 585 real(C_DOUBLE), intent(out) :: add
Chris@19 586 real(C_DOUBLE), intent(out) :: mul
Chris@19 587 real(C_DOUBLE), intent(out) :: fmas
Chris@19 588 end subroutine fftwl_flops
Chris@19 589
Chris@19 590 real(C_DOUBLE) function fftwl_estimate_cost(p) bind(C, name='fftwl_estimate_cost')
Chris@19 591 import
Chris@19 592 type(C_PTR), value :: p
Chris@19 593 end function fftwl_estimate_cost
Chris@19 594
Chris@19 595 real(C_DOUBLE) function fftwl_cost(p) bind(C, name='fftwl_cost')
Chris@19 596 import
Chris@19 597 type(C_PTR), value :: p
Chris@19 598 end function fftwl_cost
Chris@19 599
Chris@19 600 integer(C_INT) function fftwl_alignment_of(p) bind(C, name='fftwl_alignment_of')
Chris@19 601 import
Chris@19 602 real(C_LONG_DOUBLE), dimension(*), intent(out) :: p
Chris@19 603 end function fftwl_alignment_of
Chris@19 604
Chris@19 605 end interface