compas-dev / compas_fea

COMPAS interface to common Finite Element Analysis software.
https://compas.dev/compas_fea
MIT License
36 stars 18 forks source link

Added sorting of eigs in function 'principal_stresses' #125

Closed ioannaMitropoulou closed 2 years ago

ioannaMitropoulou commented 2 years ago

The numpy linalg.eigs() function does not sort the eigenvectors/eigenvalues by magnitude. I added a small check so that the min/max fields are filled in by the larges/smallest eigenvector+eigenvalue respectively

tomvanmele commented 2 years ago

@ioannaMitropoulou please fix lint errors and update the changelog

tomvanmele commented 2 years ago

@franaudo this is ready for review now

franaudo commented 2 years ago

@brgcode ready to merge