ply_QLegSqNorm Function

private function ply_QLegSqNorm(polyIndex) result(sqNorm)

Function to calculate the squared L2-Norm of a given Legendre polynomial on the reference element [-1,+1].

Arguments

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

The Legendre polynomial index to calculate the squared norm for. The first polynomial has index 1.

Return Value real(kind=rk)

The squared L2 Norm of the Legendre polynomial.