We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fae8d4c commit c8edaeeCopy full SHA for c8edaee
src/fftpack.f90
@@ -4,6 +4,7 @@ module fftpack
4
private
5
integer, parameter :: dp = kind(1.0d0)
6
7
+ public :: dp
8
public :: zffti, zfftf, zfftb
9
public :: fft, ifft
10
public :: fftshift, ifftshift
test/test_fftpack_dcosq.f90
@@ -12,8 +12,7 @@ subroutine check(condition, msg)
12
end subroutine check
13
14
subroutine test_fftpack_dcosq_real
15
- use fftpack, only: dcosqi, dcosqf, dcosqb
16
- integer,parameter :: dp = kind(1.0d0)
+ use fftpack, only: dcosqi, dcosqf, dcosqb, dp
17
real(kind=dp) :: w(3*4 + 15)
18
real(kind=dp) :: x(4) = [1, 2, 3, 4]
19
real(kind=dp) :: eps = 1.0e-10_dp
test/test_fftpack_dfft.f90
subroutine test_fftpack_dfft()
- use fftpack, only: dffti, dfftf, dfftb
+ use fftpack, only: dffti, dfftf, dfftb, dp
real(kind=dp) :: x(4)
real(kind=dp) :: w(31)
test/test_fftpack_dzfft.f90
subroutine test_fftpack_dzfft
- use fftpack, only: dzffti, dzfftf, dzfftb
+ use fftpack, only: dzffti, dzfftf, dzfftb, dp
test/test_fftpack_fft.f90
subroutine test_fftpack_fft
- use fftpack, only: fft
+ use fftpack, only: fft, dp
complex(kind=dp) :: x(3) = [1.0_dp, 2.0_dp, 3.0_dp]
test/test_fftpack_fftshift.f90
@@ -13,8 +13,7 @@ subroutine check(condition, msg)
subroutine test_fftpack_fftshift_complex
- use fftpack, only: fftshift
+ use fftpack, only: fftshift, dp
complex(kind=dp) :: xeven(4) = [1, 2, 3, 4]
20
complex(kind=dp) :: xodd(5) = [1, 2, 3, 4, 5]
@@ -27,8 +26,7 @@ subroutine test_fftpack_fftshift_complex
27
26
end subroutine test_fftpack_fftshift_complex
28
29
subroutine test_fftpack_fftshift_real
30
31
32
33
real(kind=dp) :: xeven(4) = [1, 2, 3, 4]
34
real(kind=dp) :: xodd(5) = [1, 2, 3, 4, 5]
test/test_fftpack_ifft.f90
subroutine test_fftpack_ifft
- use fftpack, only: fft, ifft
+ use fftpack, only: fft, ifft, dp
complex(kind=dp) :: x(4) = [1, 2, 3, 4]
test/test_fftpack_ifftshift.f90
subroutine test_fftpack_ifftshift_complex
- use fftpack, only: ifftshift
+ use fftpack, only: ifftshift, dp
integer :: i
complex(kind=dp) :: xeven(4) = [3, 4, 1, 2]
@@ -28,8 +27,7 @@ subroutine test_fftpack_ifftshift_complex
end subroutine test_fftpack_ifftshift_complex
subroutine test_fftpack_ifftshift_real
35
real(kind=dp) :: xeven(4) = [3, 4, 1, 2]
test/test_fftpack_iqct.f90
subroutine test_fftpack_iqct
- use fftpack, only: qct, iqct
+ use fftpack, only: qct, iqct, dp
test/test_fftpack_irfft.f90
subroutine test_fftpack_irfft
- use fftpack, only: rfft, irfft
+ use fftpack, only: rfft, irfft, dp
0 commit comments