pysdic.Mesh.to_hdf5_file#

Mesh.to_hdf5_file(file_path, *, make_dirs=False, **kwargs)#

Serialize the object to an HDF5 file.

Parameters:
  • file_path (Any) – The path to the file where the HDF5 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 HDF5.

Return type:

None