NCEPLIBS-sp
2.5.0
|
Perform multiple fast Fourier transforms. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | spfft1 (IMAX, INCW, INCG, KMAX, W, G, IDIR) |
This subprogram performs multiple fast Fourier transforms between complex amplitudes in Fourier space and real values in cyclic physical space. More... | |
subroutine spfft1 | ( | integer, intent(in) | IMAX, |
integer, intent(in) | INCW, | ||
integer, intent(in) | INCG, | ||
integer, intent(in) | KMAX, | ||
complex, dimension(incw,kmax), intent(inout) | W, | ||
real, dimension(incg,kmax), intent(inout) | G, | ||
integer, intent(in) | IDIR | ||
) |
This subprogram performs multiple fast Fourier transforms between complex amplitudes in Fourier space and real values in cyclic physical space.
Subprogram spfft1() initializes trigonometric data each call. Use subprogram spfft() to save time and initialize once. This version invokes the IBM ESSL FFT.
IMAX | number of values in the cyclic physical space (see limitations on imax in remarks below.) | |
INCW | first dimension of the complex amplitude array (INCW >= IMAX/2+1) | |
INCG | first dimension of the real value array (INCG >= IMAX) | |
KMAX | number of transforms to perform | |
[out] | W | complex amplitudes if IDIR>0 |
[out] | G | values if IDIR<0 |
IDIR | direction flag
|