Skip to content

Validate BCs for Petrov-Galerkin matrix assembly#4255

Open
masaqif wants to merge 1 commit into
FEniCS:mainfrom
masaqif:fix-petrov-galerkin-bc-validation
Open

Validate BCs for Petrov-Galerkin matrix assembly#4255
masaqif wants to merge 1 commit into
FEniCS:mainfrom
masaqif:fix-petrov-galerkin-bc-validation

Conversation

@masaqif

@masaqif masaqif commented Jun 30, 2026

Copy link
Copy Markdown

Reject Dirichlet boundary conditions for bilinear forms with different same-mesh test and trial spaces in the MatrixCSR and PETSc matrix assembly paths. The current assembly path cannot correctly apply these boundary conditions, so fail early with a clear error instead of assembling an invalid constrained matrix.\n\nAdds regression coverage for both MatrixCSR and PETSc assembly.\n\nSplit out from #4249 per maintainer request.

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.

1 participant