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
from_npz()method for creating aIntegrationPointsobject from a NPZ file.