[petsc-dev] ML changing the number of levels

Jed Brown jed at 59A2.org
Wed Apr 20 08:37:33 CDT 2011


On Wed, Apr 20, 2011 at 15:35, Leo van Kampenhout
<lvankampenhout at gmail.com>wrote:

> I was wondering if it is already possible to set the number of levels with
> the ML package. I tried -pc_mg_levels and PCMGSetLevels, both do not work.
>

-pc_ml_maxnlevels (there is not currently a PCMLSetMaxNLevels())


>
> I have an 8*10^6 Poisson matrix, and so far ML has given me the best
> results. However, I think with increasing the gridsize, i should also
> increase the number of multigrid levels. What are your thoughts?
>

ML automatically decides the number of levels, subject to the constraint
above.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110420/6fe536aa/attachment.html>


More information about the petsc-dev mailing list