pystran.gauss module#

Define numerical integration rules.

pystran.gauss.rule(numpts)[source]#

Set up Gauss quadrature points and weights for a given number of points.

Parameters:

numpts – The number of points can be varied between 1 and 7.

Returns:

Array of locations and array of weights.

Return type:

tuple of two arrays