Hi folks, I'm looking for a way to update the coarse and levels preconditioners used during the DMMG solve after PETSc has been initialized.
I can update some options dynamically like so:
KSP ksp = DMMGGetKSP(dmmg);
KSPSetTolerances(ksp, ...);
KSPGMRESSetRestart(ksp, ...);
But I do not see a clear way of updating the coarse and levels preconditioner
types in a similar way. Am I missing something obvious? Apologise if this has
been asked before.
Cheers,
Joey
