pysdic.IntegrationPoints.get_property#
- IntegrationPoints.get_property(key)[source]#
Get a property of the integration points by its key/name.
Note
The returned array is a unwritable view to prevent accidental modifications and is of type
numpy.float64.Note
The property can also be accessed using dictionary-like syntax:
1property_values = integration_points['property_key']
- Parameters:
key (
str) – The key/name of the property to retrieve.- Returns:
A NumPy array of shape \((N_p, A)\) representing the property values for each integration point, where \(A\) is the number of attributes per point for the given property.
- Return type:
- Raises:
KeyError – If the property with the given key does not exist.