ply_pntToLeg_2D_multVar Subroutine

private subroutine ply_pntToLeg_2D_multVar(fpt, pntVal, legCoeffs, nVars)

Subroutine to transform Legendre expansion to point values at Chebyshev nodes.

Arguments

Type IntentOptional Attributes Name
type(ply_legFpt_type), intent(inout) :: fpt

Parameters of the Fast Polynomial transformation.

real(kind=rk), intent(inout) :: pntVal(:,:)

The point values to transform to 2D modal Legendre expansion. \attention Although this array serves as input only, it is modified inside of this routine by the underlying DCT algorithm. So, when this routine returns from its call the original values of pntVal will be modified.

real(kind=rk), intent(inout) :: legCoeffs(:,:)

The Legendre coefficients.

integer, intent(in) :: nVars

The number of scalar variables to transform.