[petsc-users] PCMG: level dependent smoothing steps
Matthew Knepley
knepley at gmail.com
Tue Feb 19 09:27:28 CST 2019
On Tue, Feb 19, 2019 at 10:07 AM Pietro Benedusi via petsc-users <
petsc-users at mcs.anl.gov> wrote:
> Dear PETSc team,
>
> Is there a way to set the number of smoothing steps done inside a specific
> multigrid level l ?
> Something like:
>
> PCMGSetNumberSmoothDown <https://www.mcs.anl.gov/petsc/petsc-3.8/docs/manualpages/PCMG/PCMGSetNumberSmoothDown.html#PCMGSetNumberSmoothDown>(PC <https://www.mcs.anl.gov/petsc/petsc-3.8/docs/manualpages/PC/PC.html#PC> pc,PetscInt <https://www.mcs.anl.gov/petsc/petsc-3.8/docs/manualpages/Sys/PetscInt.html#PetscInt> n, PetscInt <https://www.mcs.anl.gov/petsc/petsc-3.8/docs/manualpages/Sys/PetscInt.html#PetscInt> l)
>
>
> In this way I could, for example set 3 smoothing steps on level 1 and 7
> smoothing steps on level 2.
>
-mg_level_1_ksp_max_it 3 -mg_level_2_ksp_mat_it 7
Thanks,
Matt
> Thank you!
> Pietro
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190219/d68e0ac2/attachment.html>
More information about the petsc-users
mailing list