sofa
sofa copied to clipboard
[ODESolver] Explicit link to linear solver
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
- it builds with SUCCESS for all platforms on the CI.
- it does not generate new warnings.
- it does not generate new unit test failures.
- it does not generate new scene test failures.
- it does not break API compatibility.
- it is more than 1 week old (or has fast-merge label).
[ci-build][with-all-tests]
[ci-build][with-all-tests]
Why add a diamond inheritance instead of modifying directly the common parent class ODESolver ?
Because explicit solvers do not necessarily require a linear solver