sdynpy.core.sdynpy_geometry.from_imat_struct
- from_imat_struct(imat_fem_struct)
Constructs a Geometry from an imat_fem class saved to a Matlab structure
In IMAT, a structure can be created from an imat_fem by using the get() function. This can then be saved to a .mat file and loaded using scipy.io.loadmat. The output from loadmat can be passed into this function
- Parameters
imat_fem_struct (np.ndarray) – structure from loadmat containing data from an imat_fem
- Returns
Geometry constructed from the data in the imat structure
- Return type