Skip to content

Commit 7cc1dbe

Browse files
committed
a few cleanup fixes to previous commit
1 parent 8b59c61 commit 7cc1dbe

File tree

6 files changed

+14
-13
lines changed

6 files changed

+14
-13
lines changed

src/fftpack.f90

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ end subroutine zffti
3030

3131
!> Version: experimental
3232
!>
33-
!> Forward transform of a double complex periodic sequence.
33+
!> Forward transform of a complex periodic sequence.
3434
!> ([Specification](../page/specs/fftpack.html#zfftf))
3535
pure subroutine zfftf(n, c, wsave)
3636
import rk
@@ -62,7 +62,7 @@ end subroutine dffti
6262

6363
!> Version: experimental
6464
!>
65-
!> Forward transform of a double real periodic sequence.
65+
!> Forward transform of a real periodic sequence.
6666
!> ([Specification](../page/specs/fftpack.html#dfftf))
6767
pure subroutine dfftf(n, r, wsave)
6868
import rk
@@ -94,7 +94,7 @@ end subroutine dzffti
9494

9595
!> Version: experimental
9696
!>
97-
!> Simplified forward transform of a double real periodic sequence.
97+
!> Simplified forward transform of a real periodic sequence.
9898
!> ([Specification](../page/specs/fftpack.html#dzfftf))
9999
pure subroutine dzfftf(n, r, azero, a, b, wsave)
100100
import rk
@@ -154,7 +154,7 @@ end subroutine dcosqb
154154

155155
!> Version: experimental
156156
!>
157-
!> Forward transform of a double complex periodic sequence.
157+
!> Forward transform of a complex periodic sequence.
158158
!> ([Specifiction](../page/specs/fftpack.html#fft))
159159
interface fft
160160
pure module function fft_rk(x, n) result(result)
@@ -166,7 +166,7 @@ end function fft_rk
166166

167167
!> Version: experimental
168168
!>
169-
!> Backward transform of a double complex periodic sequence.
169+
!> Backward transform of a complex periodic sequence.
170170
!> ([Specifiction](../page/specs/fftpack.html#ifft))
171171
interface ifft
172172
pure module function ifft_rk(x, n) result(result)
@@ -178,7 +178,7 @@ end function ifft_rk
178178

179179
!> Version: experimental
180180
!>
181-
!> Forward transform of a double real periodic sequence.
181+
!> Forward transform of a real periodic sequence.
182182
!> ([Specifiction](../page/specs/fftpack.html#rfft))
183183
interface rfft
184184
pure module function rfft_rk(x, n) result(result)
@@ -190,7 +190,7 @@ end function rfft_rk
190190

191191
!> Version: experimental
192192
!>
193-
!> Backward transform of a double real periodic sequence.
193+
!> Backward transform of a real periodic sequence.
194194
!> ([Specifiction](../page/specs/fftpack.html#irfft))
195195
interface irfft
196196
pure module function irfft_rk(x, n) result(result)

src/fftpack_fft.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
contains
44

5-
!> Forward transform of a double complex periodic sequence.
5+
!> Forward transform of a complex periodic sequence.
66
pure module function fft_rk(x, n) result(result)
77
complex(kind=rk), intent(in) :: x(:)
88
integer, intent(in), optional :: n

src/fftpack_ifft.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
contains
44

5-
!> Backward transform of a double complex periodic sequence.
5+
!> Backward transform of a complex periodic sequence.
66
pure module function ifft_rk(x, n) result(result)
77
complex(kind=rk), intent(in) :: x(:)
88
integer, intent(in), optional :: n

src/fftpack_irfft.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
contains
44

5-
!> Backward transform of a double real periodic sequence.
5+
!> Backward transform of a real periodic sequence.
66
pure module function irfft_rk(x, n) result(result)
77
real(kind=rk), intent(in) :: x(:)
88
integer, intent(in), optional :: n

src/fftpack_rfft.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
contains
44

5-
!> Forward transform of a double real periodic sequence.
5+
!> Forward transform of a real periodic sequence.
66
pure module function rfft_rk(x, n) result(result)
77
real(kind=rk), intent(in) :: x(:)
88
integer, intent(in), optional :: n

test/tstfft.f

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,12 @@ PROGRAM TSTFFT
5353

5454

5555
C
56-
IMPLICIT DOUBLE PRECISION (A-H,O-Z)
56+
USE fftpack_kind
57+
IMPLICIT REAL(RK) (A-H,O-Z)
5758
DIMENSION ND(10) ,X(200) ,Y(200) ,W(2000) ,
5859
1 A(100) ,B(100) ,AH(100) ,BH(100) ,
5960
2 XH(200) ,CX(200) ,CY(200)
60-
DOUBLE COMPLEX CX ,CY
61+
COMPLEX(RK) CX ,CY
6162
DATA ND(1),ND(2),ND(3),ND(4),ND(5),ND(6),ND(7)/120,54,49,32,4,3,2/
6263
SQRT2 = SQRT(2.0D0)
6364
NNS = 7

0 commit comments

Comments
 (0)