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. |

Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|

integer, | private | :: | iVar | ||||

integer, | private | :: | dofPos | ||||

integer, | private | :: | dofPosPrev | ||||

integer, | private | :: | iDeg | ||||

integer, | private | :: | iDeg1 | ||||

integer, | private | :: | iDeg2 | ||||

integer, | private | :: | iDeg3 | ||||

real(kind=rk), | private | :: | derivative((mpd+1)**2,mpd+1) |