MFC: Simulation
High-fidelity multiphase flow simulation
Loading...
Searching...
No Matches
m_fftw.fpp.f90 File Reference

Modules

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

Functions/Subroutines

impure 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.
 
impure subroutine, public m_fftw::s_apply_fourier_filter (q_cons_vf)
 The purpose of this subroutine is to apply a Fourier low- pass filter to the flow variables in the azimuthal direction to remove the high-frequency content. This alleviates the restrictive CFL condition arising from cells near the axis.
 
impure 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.
 

Variables

type(c_ptr) m_fftw::fwd_plan
 
type(c_ptr) m_fftw::bwd_plan
 
type(c_ptr) m_fftw::fftw_real_data
 
type(c_ptr) m_fftw::fftw_cmplx_data
 
type(c_ptr) m_fftw::fftw_fltr_cmplx_data
 
integer m_fftw::real_size
 
integer m_fftw::cmplx_size
 
integer m_fftw::x_size
 
integer m_fftw::batch_size
 
integer m_fftw::nfq
 
real(c_double), dimension(:), pointer m_fftw::data_real
 Real data.
 
complex(c_double_complex), dimension(:), pointer m_fftw::data_cmplx
 Complex data in Fourier space.
 
complex(c_double_complex), dimension(:), pointer m_fftw::data_fltr_cmplx
 Filtered complex data in Fourier space.
 
real(dp), dimension(:), allocatable, target m_fftw::data_real_gpu
 
complex(dp), dimension(:), allocatable, target m_fftw::data_cmplx_gpu
 
complex(dp), dimension(:), allocatable, target m_fftw::data_fltr_cmplx_gpu
 
integer m_fftw::fwd_plan_gpu
 
integer m_fftw::bwd_plan_gpu
 
integer, dimension(:), allocatable m_fftw::gpu_fft_size
 
integer, dimension(:), allocatable m_fftw::iembed
 
integer, dimension(:), allocatable m_fftw::oembed
 
integer m_fftw::istride
 
integer m_fftw::ostride
 
integer m_fftw::idist
 
integer m_fftw::odist
 
integer m_fftw::rank