There is a thread https://lists.mcs.anl.gov/pipermail/petsc-dev/2019-March/023999.html here that contains some attached code (follow the links RL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20190302/b0c1ad29/attachment.mht>).
> On Jun 25, 2023, at 9:36 AM, Edoardo alinovi <edoardo.alin...@gmail.com> > wrote: > > Thanks Matt, > > This approach looks interesting, It would be great for me to have a look at a > minimal example and try it out. Barry, are you there? 😁 > > Cheers >