Hi Barry,
Thank you very much! Now, mg preconditioning works. Date: Sun, 17 Jun 2012 11:57:27 -0500 > 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. > Barry >On Jun 17, 2012, at 5:27 AM, fdkong wrote: >> Hi everyone, >> >> 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". >> >> Regards, >> ------------------ >> Fande Kong >> ShenZhen Institutes of Advanced Technology >> Chinese Academy of Sciences >> ------------------ Fande Kong ShenZhen Institutes of Advanced Technology Chinese Academy of Sciences -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120618/840cc39c/attachment.html>
