Replies: 1 comment 1 reply
-
Symmetric mesh does not lead to a symmetric matrix. However, symmetric bilinear form (u and v can be replaced by one another) leads to a symmetric matrix. As far as I know, spsolve is a wrapper to SuperLU which has no special support for symmetric matrices. The package scikit-sparse is a wrapper to CHOLMOD which uses the Cholesky decomposition instead of LU decomposition. Using Cholesky decomposition is faster for symmetric and positive definite matrices. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Skfem offers predefined meshes with symmetries. Can & how this could be extended to custom meshes?
scipy.linalg.solve() offers assume_a parameter facilitating dealing with symmetric matrices.
Is there a way to trick or build in a skfem environment creating a similar mechanism for scipy.sparse.linalg.spsolve()?
Regards
MichaelT
Beta Was this translation helpful? Give feedback.
All reactions