Convert coefficients of a modal representation in terms of Legendre polynomials to modal coefficients in terms of Chebyshev polynomials.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nIndeps |
Number of values that can be computed independently. |
||
real(kind=rk), | intent(in) | :: | alph(:) |
Modal coefficients of the Legendre expansion. Size has to be: (1:params%n*indeps,nVars) The direction which is to be transformed has to run fastest in the array. |
||
real(kind=rk), | intent(out) | :: | gam(:) |
Modal coefficients of the Chebyshev expansion. Size has to be: (1:indeps*params%n,nVars) Note, that the resulting array will have changed layout, and the transformed direction will run slowest in the array. |
||
type(ply_trafo_params_type), | intent(inout) | :: | params |
The parameters of the fast polynomial transformation. |