<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10pt"><div><span>Dear,&nbsp;</span></div><div><br><span></span></div><div><span>To my earlier querry: <br></span></div><div><br><span></span></div><blockquote class="yiv278306274gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>What if I want to approximate my all coarse matrices with any Krylov iteration ?</div></blockquote><div>
reply: <br></div><div>The methods on each 
level are independent, you can set them with -mg_coarse_ksp_type gmres 
-mg_levels_1_ksp_type cg -mg_levels_1_ksp_max_it 100 
-mg_levels_2_ksp_type minres ... <br></div><div>&nbsp;<br>This command line option changes the ksp_type on both ksp_pre and ksp_post (pre and post smoothing) . <br>Where as I need to fix the ksp_post_type as RICHARDSON to get my Prec = C + I - AC ; <br><br>If adapt pre_smoother as follows : <br><br>ierr = MGGetSmootherDown(pcmg,lev,&amp;ksp_pre); CHKERRQ(ierr); <br></div>ierr = KSPSetType(ksp_pre, KSPGMRES);CHKERRQ(ierr);<br><br>Does ONLY setting pre_smoother as GMRES means that GMRES iterates on coarse matrix at level = lev ? <br><br>Thanks in advance. <br>Abdul. <br><br> <div><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"><div style="font-family: verdana, helvetica, sans-serif; font-size: 10pt;"> </div> </blockquote></div>   </div></body></html>