[petsc-users] Number of levels in PCGAMG

Erik Andreassen erand at mek.dtu.dk
Tue Sep 15 15:07:53 CDT 2015


Thanks!
________________________________________
Fra: Jed Brown [jed at jedbrown.org]
Sendt: 15. september 2015 22:01
Til: Erik Andreassen; petsc-users at mcs.anl.gov
Emne: Re: [petsc-users] Number of levels in PCGAMG

Erik Andreassen <erand at mek.dtu.dk> writes:

> Hi,
>
> I would like to know how to change the number of multigrid levels in AMG. I have tried PCMGSetLevels, which does not work, and I suspect that the PC is not recognized as a multigrid preconditioner, because I'm PCGAMG as the preconditioner to the coarse level solver of a PCMG. However, I do not understand why it is not recognized as a multigrid preconditioner.

PCGAMGSetNlevels


More information about the petsc-users mailing list