<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Thank you for the reply. </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 class="gmail-HOEnZb"><div class="gmail-h5"><span style="color:rgb(34,34,34)">It is better to set pass the options directly to the objects. For instance the following example calls EPSGetST(), STGetKSP(), KSPGetPC() to extract objects that are nested one inside the other:</span><span style="color:rgb(34,34,34)"> </span></div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-HOEnZb"><div class="gmail-h5"><br></div></div>
<span class="gmail-HOEnZb"><font color="#888888">Jose<br></font></span></blockquote><div><br></div><div> I was only able to set PCTYPE, KSPTYPE, <span style="font-size:12.8px">-st_pc_gamg_agg_nsmooths 1 and </span><span style="font-size:12.8px">-st_pc_gamg_threshold 0.01 that way. How do I set the options for the PCMG object inside PCGAMG: "</span><span style="font-size:12.8px">-st_mg_levels_ksp_type chebyshev", "</span><span style="font-size:12.8px">-st_mg_levels_pc_type jacobi",  "</span><span style="font-size:12.8px">-st_mg_levels_ksp_max_it 8"?</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Thanks,</span></div><div><span style="font-size:12.8px">Harshad</span></div></div></div></div>