ply_nodeset_legendre Function

public function ply_nodeset_legendre(nPoints) result(x)

Compute Gauss-Legendre integration points on the interval [-1,1].

Arguments

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

The number of integration points.

Return Value real(kind=rk), (nPoints)

The coordinates of the Legendre points on the interval [-1,1]. The array has to have the length nPoints.