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

Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|

integer, | intent(in) | :: | polyIndex | The Legendre polynomial index to calculate the squared norm for. The first polynomial has index 1. |

The squared L2 Norm of the Legendre polynomial.