Skip to content

Improvement to A_fromMCK #1

@RRiva

Description

@RRiva

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 🙂

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions