Hi @jjmoraa, moving from inv to solve is a good step forward, but you are still factorizing the mass matrix twice. A better approach is:
- Apply a suitable factorization to the mass matrix. For example, Cholesky if applicable, or otherwise LU.
- Horizontally concatenate the stiffness and damping matrices.
- Use the factorized mass matrix to solve 1 linear system.
- Extract the two halves of the result.
Hope it helps 🙂
Hi @jjmoraa, moving from
invtosolveis a good step forward, but you are still factorizing the mass matrix twice. A better approach is:Hope it helps 🙂