Skip to content

Insert zero blocks on matrix diagonals #704

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 23, 2023
Merged

Conversation

connorjward
Copy link
Collaborator

@connorjward connorjward commented Aug 22, 2023

Fixes firedrakeproject/firedrake#3066.

Basically we were failing to insert zeros in the right places when we construct the sparsity because we were inserting single zeros along the diagonal, rather than respecting the matrix block size. This was causing vector-valued assembly to crash.

This PR also pins the Cython version used by CI since petsc4py was otherwise not building.

@dham dham merged commit 92e756b into master Aug 23, 2023
@dham dham deleted the connorjward/fix-block-sparsity branch August 23, 2023 15:59
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.

Error with boundary integral and VectorFunctionSpace
2 participants