ply_nodeset_chebyshev Function

public function ply_nodeset_chebyshev(nPoints) result(x)

Generates a given number of Chebyshev points on the unit interval [-1;+1].

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: nPoints

The number of points to generate

Return Value real(kind=rk)(nPoints)

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


Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: iPoint
integer, private :: iBack
integer, private :: nHalf