Subroutine to initialize the fast polynomial transformation for Legendre expansion.
fpt%planPntToCheb = fftw_plan_r2r_1d( n = n, & & in = tmpIn, & & out = tmpOut, & & kind = FFTW_REDFT10, & & flags = planning_flags ) fpt%planPntToCheb = fftw_plan_r2r_1d( n = n, & & in = tmpIn, & & out = tmpOut, & & kind = FFTW_REDFT10, & & flags = planning_flags ) fpt%planChebToPnt = fftw_plan_r2r_1d( n = n, & & in = tmpIn, & & out = tmpOut, & & kind = FFTW_REDFT00, & & flags = planning_flags )
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | maxPolyDegree |
Maximal polynomial degree for the transformation. |
||
integer, | intent(in) | :: | nIndeps |
Number of independent values that can be computed simultaneously. |
||
type(ply_legFpt_type), | intent(inout) | :: | fpt |
The Fast Polynomial Transformation setting to initialize. |
||
type(ply_fpt_header_type), | intent(in) | :: | header |
Configuration settings for the projection. |
||
integer, | intent(in), | optional | :: | fft_flags |
Planning flags for the FFT. Configuration to how much time to spend on finding an optimal FFT implementation in the FFTW. See: http://www.fftw.org/doc/Planner-Flags.html#Planner-Flags Defaults to FFTW_MEASURE. |