[petsc-users] Number of levels in PCGAMG

Jed Brown jed at jedbrown.org
Tue Sep 15 15:01:52 CDT 2015


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150915/4f0f06b3/attachment.pgp>


More information about the petsc-users mailing list