pysdic.IntegrationPoints.to_npz#

IntegrationPoints.to_npz(filepath, save_properties=True)[source]#

Save the integration points to a NumPy NPZ file.

The natural coordinates will be saved as an array named ‘natural_coordinates’ with shape \((N_p, K)\). The element indices will be saved as an array named ‘element_indices’ with shape \((N_p,)\). The weights will be saved as an array named ‘weights’ with shape \((N_p,)\) if they are present. Additional properties will be saved as separate arrays in the NPZ file with names in the format "_properties/{property_name}".

See also

Parameters:
  • filepath (str) – The path to the output NPZ file.

  • save_properties (bool, optional) – If True, all properties of the integration points will be saved as separate arrays in the NPZ file. Default is True.

Return type:

None