ply_alpha Function

private function ply_alpha(mode) result(alpha)

Coefficients from the recursive formulation of legendre polynomials. L_n = alpha * x * L_n-1 + beta * L_n-2

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: mode

The current mode in the polynomial representation.

Return Value real(kind=rk)

Alpha coefficient from the recursive formulation of legendre polynomials.