[petsc-dev] ML changing the number of levels

Leo van Kampenhout lvankampenhout at gmail.com
Wed Apr 20 09:10:51 CDT 2011


Okay, I think the default setting for PCMLMaxNLevelsis 10, so i'm not nearly
there. It uses same number of levels (4) for a 64^3 grid and a 200^3 grid.
Isn't that strange?

Thanks,

2011/4/20 Jed Brown <jed at 59a2.org>

> 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/05274430/attachment.html>


More information about the petsc-dev mailing list