Subroutine to initialize the FFTW3 process 1 FFT distributed on several threads. Complex case.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=I4), | intent(in) | :: | long |
first 2D array dimension |
||
integer(kind=I4), | intent(in) | :: | larg |
second 2D array dimension |
subroutine init_fftw3(long, larg) !! Subroutine to initialize the FFTW3 process *1 FFT distributed on several threads*. !! Complex case. implicit none integer(kind=I4), intent(in) :: long !! *first 2D array dimension* integer(kind=I4), intent(in) :: larg !! *second 2D array dimension* call alloc_fftw3(long, larg) call make_plan_fftw3(long, larg) SINGL_FFTW_ALLOCATED = .true. FFT_DIM(1:2) = [long, larg] return endsubroutine init_fftw3