ply_calcDiff_leg Subroutine

public subroutine ply_calcDiff_leg(legCoeffs, legCoeffsDiff, maxPolyDegree, nVars, elemLength)

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in) :: legCoeffs(:,:)
real(kind=rk), intent(inout) :: legCoeffsDiff(:,:,:)

Modal expansion of the derivative of legCoeffs in terms of Legendre modal coefficients. \n First index is the number of modal coefficients. \n Second index is the number of velocity components \n Third index is the number of partial derivatives, i.e. 3 in 3D.

integer, intent(in) :: maxPolyDegree
integer, intent(in) :: nVars

The number of varibales to differentiate

real(kind=rk), intent(in) :: elemLength

The physical length of the element to build the derivatives for.