Geometrical Multigrid in dolfinX

Hello there,
I’ve been trying to use a Geometrical Multigrid solver in python by translating from dolfin to dolfinX the implementation linked in this discussion.

My only problem is with the PETScDMCollection object which appears to have no fenicsX counterpart. Is there any way to circumvent this? I’ve been thinking of readapting the .cpp and .h files to dolfinX, but maybe there is some easier alternative I do not see.

Thanks in advance,