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
934 stars 312 forks source link

[Type] attempt to replace sofa::type::Mat with Eigen::Matrix #4993

Closed alxbilger closed 2 months ago

alxbilger commented 2 months ago

This PR shows how to replace sofa::type::Mat with Eigen::Matrix. The goal was to minimize the amount of code change in the code base.

Several difficulties arise:

Because of those difficulties, the replacement is not simple. This PR is not finished. It just show how (at least the first step).


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