Skip to content

Support more types of linear systems#542

Merged
hugtalbot merged 2 commits intosofa-framework:masterfrom
alxbilger:linearsystem
Nov 13, 2025
Merged

Support more types of linear systems#542
hugtalbot merged 2 commits intosofa-framework:masterfrom
alxbilger:linearsystem

Conversation

@alxbilger
Copy link
Contributor

Bindings were available only for linear systems of type CompressedRowSparseMatrix<SReal> and CompressedRowSparseMatrix<sofa::type::Mat<3,3,SReal> >.

This PR:

  • Add support of vector access for all known linear system types where the vector type is FullVector.
  • Extend the support of matrix access to other CompressedRowSparseMatrix
  • Add support of matrix access for FullMatrix
  • Duplicate respectively the function A(), b() and x(), to get_system_matrix, get_rhs_vector and get_solution_vector.

@hugtalbot hugtalbot merged commit af98611 into sofa-framework:master Nov 13, 2025
4 checks passed
RafaelPalomar pushed a commit to Slicer/SofaPython3 that referenced this pull request Jan 28, 2026
* Support more types of linear systems

* add support for BTD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request pr: status ready

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants