<div>Hi Barry,</div><div><br></div><div>Thank you very much! Now, mg preconditioning works.</div><div><br></div><div><includetail>Date: Sun, 17 Jun 2012 11:57:27 -0500<br><br><br>>   Look at the examples, for nonlinear problems look at src/snes/examples/tutorials/ex19.c for linear problems look at src/ksp/ksp/examples/tutorials/ ex45.c they are both translations of what use to be DMMG examples so should show you exactly what needs to be done.<br><br>>   Barry<br><br>>On Jun 17, 2012, at 5:27 AM, fdkong wrote:<br><br>>> Hi everyone,<br>>> <br>>> I has been developing some solvers with multigrid preconditioning built on the top of Object DMMG. Now, I update Petsc from 3.2 to 3.3, and find that there is no DMMG. I try to modify my code so that it can run on new Petsc. But I don't know how to transfer my code. If directly modify code,  it will take me a lot of time. Even further, I cann't find any example on how to use "PCMG". <br>>> <br>>> Regards,<br>>> ------------------<br>>> Fande Kong<br>>> ShenZhen Institutes of Advanced Technology<br>>> Chinese Academy of Sciences<br>>>  <br><br><div style="color: rgb(144, 144, 144); font-family: 'Arial Narrow'; font-size: 12px; ">------------------</div><div style="font-size: 14px; font-family: Verdana; color: rgb(0, 0, 0); "><div>Fande Kong</div><div>ShenZhen Institutes of Advanced Technology</div><div>Chinese Academy of Sciences</div></div><br><br></includetail></div>