[petsc-users] Number of levels in PCGAMG

Mark Adams mfadams at lbl.gov
Tue Sep 15 15:33:33 CDT 2015


BTW, it is recommended that you let GAMG figure out how many levels.  THere
are parameters to guild this and they are not as problem dependant.  But if
you really know how many levels you want, know what you are doing, then go
for it.
Mark

On Tue, Sep 15, 2015 at 4:07 PM, Erik Andreassen <erand at mek.dtu.dk> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150915/08bf5764/attachment.html>


More information about the petsc-users mailing list