[petsc-users] Dynamically changing coarse and levels DMMG preconditioners
Jed Brown
jed at 59A2.org
Tue Aug 10 20:59:01 CDT 2010
On Wed, 11 Aug 2010 11:46:40 +1000, Joey Hegarty <Joey.Hegarty at al.com.au> wrote:
> 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.
See PCMGGetSmoother() and PCMGGetCoarseSolve().
Jed
More information about the petsc-users
mailing list