OpenMCTDHB v2.3
Functions/Subroutines

modulefft Module Reference

This module contains fast fourier transform wrappers. We use the convention of the FFT without any prefactor (just like FFTW), This implies that the inverse transform of the transform gives the original sequence times the number of gridpoints, i.e. FFT^+[FFT^-[x]]= N*[x]. More...

Functions/Subroutines

subroutine get_FFT1D (instruction, length1, vec, INFO)
 This is the FFTW3 wrapper for the 1D fft.
subroutine get_FFT2D (instruction, length1, length2, vec, INFO)
 This is the FFTW3 wrapper for the 2D fft.
subroutine get_FFT3D (instruction, length1, length2, length3, vec, INFO)
 This is the FFTW3 wrapper for the 3D fft.

Detailed Description

This module contains fast fourier transform wrappers. We use the convention of the FFT without any prefactor (just like FFTW), This implies that the inverse transform of the transform gives the original sequence times the number of gridpoints, i.e. FFT^+[FFT^-[x]]= N*[x].

Depending on the value of the macro FFTLIB (currently either FFT_FFTW3 or FFT_ACML) different libraries are used in the FFT subroutines. Doxygen gets a little confused here by the preprocessor macros. Check the source code.

Author:
Kaspar Sakmann (2011)
Since:
2011

Function/Subroutine Documentation

subroutine modulefft::get_FFT1D ( INTEGER,intent(in)  instruction,
INTEGER,intent(in)  length1,
COMPLEX*16,dimension(length1),intent(inout)  vec,
INTEGER,intent(inout)  INFO 
)

This is the FFTW3 wrapper for the 1D fft.

This is the ACML wrapper for the 1D fft.

Author:
Kaspar Sakmann (2011)
Since:
2011

Definition at line 26 of file modulefft.F90.

Here is the caller graph for this function:

subroutine modulefft::get_FFT2D ( INTEGER,intent(in)  instruction,
INTEGER,intent(in)  length1,
INTEGER,intent(in)  length2,
COMPLEX*16,dimension(length1*length2),intent(inout)  vec,
INTEGER,intent(inout)  INFO 
)

This is the FFTW3 wrapper for the 2D fft.

This is the ACML wrapper for the 2D fft.

Author:
Kaspar Sakmann (2011)
Since:
2011

Definition at line 59 of file modulefft.F90.

Here is the caller graph for this function:

subroutine modulefft::get_FFT3D ( INTEGER,intent(in)  instruction,
INTEGER,intent(in)  length1,
INTEGER,intent(in)  length2,
INTEGER,intent(in)  length3,
COMPLEX*16,dimension(length1*length2*length3),intent(inout)  vec,
INTEGER,intent(inout)  INFO 
)

This is the FFTW3 wrapper for the 3D fft.

This is the ACML wrapper for the 3D fft.

Author:
Kaspar Sakmann (2011)
Since:
2011

Definition at line 97 of file modulefft.F90.

Here is the caller graph for this function:

 All Namespaces Files Functions Variables