ModLegendre_legendre Function

private function ModLegendre_legendre(this, input) result(output)

Computes direct Legendre transformation. The Legendre polynomials (cpol), the triangular shape definition (nsh2), and the gaussian weights (wt) used for the integration of the Legendre transform needs to be initialized and passed to the function.

Arguments

Type IntentOptional AttributesName
class(ModLegendre_t), intent(in) :: this
real(kind=p), intent(in) :: input(2*mx,il)

Input field

Return Value real(kind=p) (2*mx,nx)

Output field


Contents

None