Compute the derivative in X direction for 3D Legendre polynomial.
Type | Intent | Optional | 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. * First index is the number of modal coefficients. * Second index is the number of variable components |
||
integer, | intent(in) | :: | mPd | |||
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. |