gauss_points_line#

planestress.analysis.utils.gauss_points_line(n_points: int) list[tuple[float, float]][source]#

Gaussian weights and locations for 1D line Gaussian integration.

Parameters:

n_points (int) – Number of gauss points.

Raises:

ValueError – If n_points is not 1, 2 or 3.

Returns:

Gaussian weights and location. For each gauss point - (weight, xi).

Return type:

list[tuple[float, float]]