Is there an option that can be used to set the number of iterations before restart when using GMRES Krylov-solvers; in the Python interface for Fenics?
(I look for something similar to PETSc's KSPGMRESSetRestart)
This should do the trick:
parameters["krylov_solver"]["gmres"]["restart"] = num_iterations