pysdic.IntegrationPoints.to_dict#

IntegrationPoints.to_dict(*, save_properties=True)[source]#

Convert the integration points to a flat dictionary.

The natural coordinates, element indices and weights are stored under the keys "natural_coordinates", "element_indices" and "weights", and the properties under the keys "_property/{property_name}". All the arrays are copies.

Note

The dictionary is flat (one level), as required by the NPZ format. See pysdic.core.serialization.NpzSerializerMixin.

Parameters:

save_properties (bool, optional (default: True)) – If False, the properties are not included.

Returns:

The dictionary representation of the integration points.

Return type:

Dict[str, Any]