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 <[email protected]> wrote: > Thanks! > ________________________________________ > Fra: Jed Brown [[email protected]] > Sendt: 15. september 2015 22:01 > Til: Erik Andreassen; [email protected] > Emne: Re: [petsc-users] Number of levels in PCGAMG > > Erik Andreassen <[email protected]> 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 >
