<div dir="ltr"><div dir="ltr">On Tue, Feb 19, 2019 at 10:07 AM Pietro Benedusi via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="word-wrap:break-word">
Dear PETSc team,
<div><br>
</div>
<div>Is there a way to set the number of smoothing steps done inside a specific multigrid level l ?</div>
<div>Something like:</div>
<div>
<pre style="font-variant-ligatures:normal"><a href="https://www.mcs.anl.gov/petsc/petsc-3.8/docs/manualpages/PCMG/PCMGSetNumberSmoothDown.html#PCMGSetNumberSmoothDown" target="_blank">PCMGSetNumberSmoothDown</a>(<a href="https://www.mcs.anl.gov/petsc/petsc-3.8/docs/manualpages/PC/PC.html#PC" target="_blank">PC</a> pc,<a href="https://www.mcs.anl.gov/petsc/petsc-3.8/docs/manualpages/Sys/PetscInt.html#PetscInt" target="_blank">PetscInt</a> n, <a href="https://www.mcs.anl.gov/petsc/petsc-3.8/docs/manualpages/Sys/PetscInt.html#PetscInt" target="_blank">PetscInt</a> l)</pre>
<div><br>
</div>
</div>
<div>In this way I could, for example set 3 smoothing steps on level 1 and 7 smoothing steps on level 2.</div></div></blockquote><div><br></div><div>-mg_level_1_ksp_max_it 3 -mg_level_2_ksp_mat_it 7</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">
<div>Thank you!</div>
<div>Pietro </div>
</div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>