pysdic.Mesh.to_npz_file#
- Mesh.to_npz_file(file_path, *, make_dirs=False, **kwargs)#
Serialize the object to an NPZ file.
Note
The file is written at exactly
file_path: no.npzextension is appended (unlikenumpy.savezcalled with a path).- Parameters:
file_path (Any) – The path to the file where the NPZ representation of the class will be saved (str, Path, …).
make_dirs (bool, optional (default:
False)) – If True, the method will create any missing directories in the file path before writing the NPZ.
- Return type:
None