sdynpy.fem.sdynpy_exodus.read_sierra_matlab_map_file
- read_sierra_matlab_map_file(file, return_inverse=False)[source]
Reads a map file from Sierra Structural Dynamics.
If the MFILE output is used, this can read the global node ID and aset map arrays that are output from Sierra SD.
- Parameters
file (str) – File containing the map data.
return_inverse (bool, optional) – If True, will return both the forward map and the inverse map. The default is False.
- Returns
array (np.ndarray) – Returns the same map as in the file.
array_inv (np.ndarray) – Returns the inverse map of the file. Only returned if return_inverse is True.