sofa-framework / sofa

Real-time multi-physics simulation with an emphasis on medical simulation.
https://www.sofa-framework.org
GNU Lesser General Public License v2.1
867 stars 296 forks source link

[ODESolver] Explicit link to linear solver #4628

Open alxbilger opened 4 weeks ago

alxbilger commented 4 weeks ago

It basically removes the use of MultiMatrix which hides the use of a LinearSolver. Implicitly, the first linear solver found was used. Now, the LinearSolver can be defined directly in the ODE solver as a Link.


By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if

alxbilger commented 4 weeks ago

[ci-build][with-all-tests]

alxbilger commented 4 weeks ago

[ci-build][with-all-tests]

bakpaul commented 3 weeks ago

Why add a diamond inheritance instead of modifying directly the common parent class ODESolver ?

alxbilger commented 3 weeks ago

Because explicit solvers do not necessarily require a linear solver