Skip to content

[LinearSolver.Iterative] ADD: CompressedRowSparseMatrix support in PCGLinearSolver - #6447

Open
GaetanDesrues wants to merge 1 commit into
sofa-framework:masterfrom
GaetanDesrues:pcg-crs
Open

GaetanDesrues wants to merge 1 commit into
sofa-framework:masterfrom
GaetanDesrues:pcg-crs

Conversation

@GaetanDesrues

Copy link
Copy Markdown

The SOFA component PCGLinearSolver is only compatible with GraphScattered type, so it doesn't work with assembled systems (LinearSolverConstraintCorrection / BlockGaussSeidelConstraintSolver).

This PR is adding CompressedRowSparseMatrix<SReal> and CompressedRowSparseMatrix<Mat3x3> support to the PCGLinearSolver.


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).

@fredroy fredroy added pr: enhancement About a possible enhancement pr: status to review To notify reviewers to review this pull-request labels Nov 8, 2026
@fredroy fredroy changed the title ADD: CompressedRowSparseMatrix support in PCGLinearSolver [LinearSolver.Iterative] ADD: CompressedRowSparseMatrix support in PCGLinearSolver Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: enhancement About a possible enhancement pr: status to review To notify reviewers to review this pull-request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants