warp.fem.polynomial.quadrature_1d#
- warp.fem.polynomial.quadrature_1d(point_count, family)[source]#
Return quadrature points and weights for the given family and point count.
- Parameters:
point_count (int) – Number of quadrature points.
family (Polynomial) – Polynomial family defining the quadrature rule.
- Returns:
A tuple
(coords, weights)in whichcoordsis a NumPy array of quadrature point coordinates in the interval[0, 1], andweightsis a NumPy array of corresponding quadrature weights.