Skip to content

Eliminate zeros from MatrixCSR - #4411

Open
chrisrichardson wants to merge 6 commits into
mainfrom
chris/eliminate-zeros
Open

Eliminate zeros from MatrixCSR#4411
chrisrichardson wants to merge 6 commits into
mainfrom
chris/eliminate-zeros

Conversation

@chrisrichardson

@chrisrichardson chrisrichardson commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Similar to MatFilter in Petsc, this removes explicit zeros (or near zeros) from MatrixCSR data.
Because it affects the structure, no add, insert or scatter operations can be performed afterwards, and a _finalized lock is set.

Fixes Issue #2700

PR assistance with Claude Sonnet 5

Comment thread cpp/dolfinx/la/MatrixCSR.h Outdated
@chrisrichardson
chrisrichardson marked this pull request as ready for review August 18, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants