!
|
! 3D FFT subroutine used by the PESSL implementation.
|
!
-
subroutine fft (n1, n2, n3, isign, scale, x, y)
-
use blacs
-
use types
-
implicit none
|
!
|
! Arguments
|
!
-
integer, intent(in) :: n1, n2, n3, isign
-
real(R8), intent(in) :: scale
|
!
-
complex(R8), dimension(:,:,:), intent(in) :: x
|
!hpf$ template gridx(n1,n2,n3)
|
!hpf$ distribute(*,*,block) :: gridx
|
!hpf$ align(:,:,:) with *gridx :: x
|
!
-
complex(R8), dimension(:,:,:), intent(out) :: y
|
!hpf$ template gridy(n3,n2,n1)
|
!hpf$ distribute(*,*,block) :: gridy
|
!hpf$ align(:,:,:) with *gridy :: y
|