Will it work for you to use https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/PC/PCMGGetSmoother.html
to pull out the KSP for the level you're interested in (Note link to PCMGGetSmootherDown() if you want to control up and down smoothers separately) and then use https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/KSP/KSPSetTolerances.html to set the maximum iterations? Am Di., 19. Feb. 2019 um 16:07 Uhr schrieb Pietro Benedusi via petsc-users < petsc-users@mcs.anl.gov>: > 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. > > Thank you! > Pietro >