Hello everyone, after the announcement of dolfinx v0.10.0, I decided to retake the issue of Mixing dolfinx_mpc and scifem packages for a nonlinear problem in which I tried to solve an homogenisation problem, i.e., with periodic boundary conditions, and real spaces for global lagrange multipliers. However, although I thought at first that only a few functions would need to be modified (like combiningassemble_residual_mpc from dolfinx_mpc/problem.py with _assemble_residual of scifem/solvers.py), I have come to the conclusion that also the way matrices are assembled should be changed, since dolfinx_mpc uses nest assembly and scifem uses block assembly for real function spaces.
Would it be possible for someone to give me a hand? I feel that my knowledge of dolfinx is not deep enough to change the core functions. Thank you very much in advance.