Updates for upstream PETSc assembly changes - #47
Conversation
5aba249 to
9a38c1d
Compare
…ate_matrix_block and create_matrix_nest in the C++ backend. The change was introduced in upstream PR 3667
…s change follows upstream PR 3668
…and set_bc when using block/nest forms
… corresponds to upstream PR 3684
…his corresponds to upstream PR 3648
9a38c1d to
d8d2620
Compare
d8d2620 to
d78d2ae
Compare
d78d2ae to
8df598f
Compare
|
My tests do work after the API changes. Note that the old API used to call |
Great, thanks for checking. I'll merge this as soon as CI is green.
I do understand your point, but there is nothing I can make about this. The rationale is that we should copy the signature from |
I've pushed a commit which adds an assert for this case, which hopefully should be enough for the user to realize that there has been an API change. |
|
Code looks good to me. |
…aliziation used to work with pyvista 0.44.*, but stopped with working 0.45.0
b578aa4 to
55f48ff
Compare
|
Will delay merging until FEniCS/dolfinx#3785 is merged upstream, because that fixes on failed assertion in the tutorials. |
e958d0b to
c65d3a3
Compare
c65d3a3 to
218ce32
Compare
I am finally working on bringing
multiphenicsxup to date with changes ondolfinxmain branch related to PETSc assembly.The main upstream changes are (will tick the box once I've worked on that):
dolfinx.fem.petsc.LinearProblemfor nest and block systems FEniCS/dolfinx#3684 (and follow ups)For now I've worked on the first two items, and made sure that the tests pass.
I'll update the tutorials after working on the last two items, therefore CI is still failing for now.
cc @ordinary-slim in case you want to have a look, test it on your codes or review it.