fourier_mod Module

module~~fourier_mod~~UsesGraph module~fourier_mod fourier_mod module~kinds_mod kinds_mod module~kinds_mod->module~fourier_mod iso_c_binding iso_c_binding iso_c_binding->module~fourier_mod fftw3_mod fftw3_mod fftw3_mod->module~fourier_mod
Help

Module for simplified access to the FFTW3 library

Used By

module~~fourier_mod~~UsedByGraph module~fourier_mod fourier_mod program~testfourier_prg testFourier_prg module~fourier_mod->program~testfourier_prg
Help


Interfaces

public interface FFT

Compute the FFT of a dataset

  • private function FFT_r1(u) result(o)

    Arguments

    Type IntentOptional AttributesName
    real(kind=wp), intent(in), dimension(:):: u

    Return Value real(kind=wp), dimension(:), allocatable

  • private function FFT_r2(u) result(o)

    Arguments

    Type IntentOptional AttributesName
    real(kind=wp), intent(in), dimension(:,:):: u

    Return Value real(kind=wp), dimension(:,:), allocatable

  • private function FFT_c1(u) result(o)

    Arguments

    Type IntentOptional AttributesName
    complex(kind=wp), intent(in), dimension(:):: u

    Return Value complex(kind=wp), dimension(:), allocatable

  • private function FFT_c2(u) result(o)

    Arguments

    Type IntentOptional AttributesName
    complex(kind=wp), intent(in), dimension(:,:):: u

    Return Value complex(kind=wp), dimension(:,:), allocatable

public interface iFFT

Compute the inverse FFT of a dataset

  • private function iFFT_r1(u) result(o)

    Arguments

    Type IntentOptional AttributesName
    real(kind=wp), intent(in), dimension(:):: u

    Return Value real(kind=wp), dimension(:), allocatable

  • private function iFFT_r2(u) result(o)

    Arguments

    Type IntentOptional AttributesName
    real(kind=wp), intent(in), dimension(:,:):: u

    Return Value real(kind=wp), dimension(:,:), allocatable

  • private function iFFT_c1(u) result(o)

    Arguments

    Type IntentOptional AttributesName
    complex(kind=wp), intent(in), dimension(:):: u

    Return Value complex(kind=wp), dimension(:), allocatable

  • private function iFFT_c2(u) result(o)

    Arguments

    Type IntentOptional AttributesName
    complex(kind=wp), intent(in), dimension(:,:):: u

    Return Value complex(kind=wp), dimension(:,:), allocatable

public interface DFT

Compute the DFT of a dataset

  • private function DFT_r1(input) result(output)

    Arguments

    Type IntentOptional AttributesName
    real(kind=wp), intent(in), dimension(0:):: input

    Return Value real(kind=wp), dimension(:), allocatable

  • private function DFT_c1(input) result(output)

    Arguments

    Type IntentOptional AttributesName
    complex(kind=wp), intent(in), dimension(0:):: input

    Return Value complex(kind=wp), dimension(:), allocatable

  • private function DFT_r2(input) result(output)

    Arguments

    Type IntentOptional AttributesName
    real(kind=wp), intent(in), dimension(0:,0:):: input

    Return Value real(kind=wp), dimension(:,:), allocatable

  • private function DFT_c2(input) result(output)

    Arguments

    Type IntentOptional AttributesName
    complex(kind=wp), intent(in), dimension(0:,0:):: input

    Return Value complex(kind=wp), dimension(:,:), allocatable

public interface iDFT

Compute the inverse DFT of a dataset

  • private function iDFT_r1(input) result(output)

    Arguments

    Type IntentOptional AttributesName
    real(kind=wp), intent(in), dimension(0:):: input

    Return Value real(kind=wp), dimension(:), allocatable

  • private function iDFT_c1(input) result(output)

    Arguments

    Type IntentOptional AttributesName
    complex(kind=wp), intent(in), dimension(0:):: input

    Return Value complex(kind=wp), dimension(:), allocatable

  • private function iDFT_r2(input) result(output)

    Arguments

    Type IntentOptional AttributesName
    real(kind=wp), intent(in), dimension(0:,0:):: input

    Return Value real(kind=wp), dimension(:,:), allocatable

  • private function iDFT_c2(input) result(output)

    Arguments

    Type IntentOptional AttributesName
    complex(kind=wp), intent(in), dimension(0:,0:):: input

    Return Value complex(kind=wp), dimension(:,:), allocatable


Functions

public function FFT_freq(t) result(f)

Compute the frequencies from time for an FFT

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in), dimension(:):: t

Sample times of input signal to FFT

Return Value real(kind=wp), dimension(:), allocatable

Frequencies of FFT output