The SNES solver for handling submesh

Hi ,If the BlockedNewtonsolver is called in dolfinx when dealing with discontinuous reference processing interfaces, then is there a similar interface that can be called for the SNES solver as well? This would be to meet the needs of solving problems that require the use of submesh

I have a proposed version within a PR:

Thank you, This is what I want. Also, I’m curious whether it, like the blocknewtosolver, requires entitymaps to characterize the interaction between two submesh

It will require that (through compiling F and J) before sending them in