pysdic.IntegrationPoints.weights#
- property IntegrationPoints.weights: ndarray#
[Get/Set] The weights of the points, an array of shape \((N_p,)\).
The getter returns a read-only view. The setter copies the given array. The setter is refused (
RuntimeError) if the integration points are locked.- Parameters:
value (Optional[ArrayLike]) – An array of shape \((N_p,)\) with finite non-negative values, or
Noneto set all the weights to 1.- Returns:
A read-only view of shape \((N_p,)\) on the weights.
- Return type: