MFC:Post_process  v1.0
m_fftw Module Reference

The module contains the subroutines for the FFT routines. More...

Functions/Subroutines

subroutine, public s_initialize_fftw_module ()
 The purpose of this subroutine is to create the fftw plan that will be used in the forward and backward DFTs when applying the Fourier filter in the azimuthal direction. More...
 
subroutine, public s_apply_fourier_decomposition (q_sf, i)
 The purpose of this subroutine is to Fourier decompose the flow field. Not done in most efficient manner since subroutine is called for every mode, but can deal with efficiency later. More...
 
subroutine, public s_finalize_fftw_module ()
 The purpose of this subroutine is to destroy the fftw plan that will be used in the forward and backward DFTs when applying the Fourier filter in the azimuthal direction. More...
 

Variables

type(c_ptr) fwd_plan
 
type(c_ptr) bwd_plan
 
type(c_ptr) fftw_real_data
 
type(c_ptr) fftw_cmplx_data
 
type(c_ptr) fftw_fltr_cmplx_data
 
integer real_size
 
integer cmplx_size
 
real(c_double), dimension(:), pointer data_real
 
complex(c_double_complex), dimension(:), pointer data_cmplx
 
complex(c_double_complex), dimension(:), pointer data_fltr_cmplx
 

Detailed Description

The module contains the subroutines for the FFT routines.

Function/Subroutine Documentation

◆ s_apply_fourier_decomposition()

subroutine, public m_fftw::s_apply_fourier_decomposition ( real(kind(0d0)), dimension( -offset_x%beg : m+offset_x%end , -offset_y%beg : n+offset_y%end , -offset_z%beg : p+offset_z%end ), intent(inout)  q_sf,
integer, intent(in)  i 
)

The purpose of this subroutine is to Fourier decompose the flow field. Not done in most efficient manner since subroutine is called for every mode, but can deal with efficiency later.

Parameters
q_sfScalar field to transform
iFourier component

Definition at line 102 of file m_fftw.f90.

Here is the caller graph for this function:

◆ s_finalize_fftw_module()

subroutine, public m_fftw::s_finalize_fftw_module ( )

The purpose of this subroutine is to destroy the fftw plan that will be used in the forward and backward DFTs when applying the Fourier filter in the azimuthal direction.

Definition at line 143 of file m_fftw.f90.

Here is the caller graph for this function:

◆ s_initialize_fftw_module()

subroutine, public m_fftw::s_initialize_fftw_module ( )

The purpose of this subroutine is to create the fftw plan that will be used in the forward and backward DFTs when applying the Fourier filter in the azimuthal direction.

Definition at line 72 of file m_fftw.f90.

Here is the caller graph for this function:

Variable Documentation

◆ bwd_plan

type(c_ptr) m_fftw::bwd_plan

Definition at line 55 of file m_fftw.f90.

◆ cmplx_size

integer m_fftw::cmplx_size

Definition at line 57 of file m_fftw.f90.

◆ data_cmplx

complex(c_double_complex), dimension(:), pointer m_fftw::data_cmplx

Definition at line 61 of file m_fftw.f90.

◆ data_fltr_cmplx

complex(c_double_complex), dimension(:), pointer m_fftw::data_fltr_cmplx

Definition at line 63 of file m_fftw.f90.

◆ data_real

real(c_double), dimension(:), pointer m_fftw::data_real

Definition at line 59 of file m_fftw.f90.

◆ fftw_cmplx_data

type(c_ptr) m_fftw::fftw_cmplx_data

Definition at line 56 of file m_fftw.f90.

◆ fftw_fltr_cmplx_data

type(c_ptr) m_fftw::fftw_fltr_cmplx_data

Definition at line 56 of file m_fftw.f90.

◆ fftw_real_data

type(c_ptr) m_fftw::fftw_real_data

Definition at line 56 of file m_fftw.f90.

◆ fwd_plan

type(c_ptr) m_fftw::fwd_plan

Definition at line 55 of file m_fftw.f90.

◆ real_size

integer m_fftw::real_size

Definition at line 57 of file m_fftw.f90.