[petsc-dev] Geometric multigrid

Jed Brown jedbrown at mcs.anl.gov
Mon Jan 9 00:04:26 CST 2012


On Sun, Jan 8, 2012 at 23:13, Thomas Witkowski <
Thomas.Witkowski at tu-dresden.de> wrote:

> The tutorial of the release version says not to use the DMMG interface as
> the will be something new in the next release version. Is there something
> already in the dev branch?
>

Yes, call SNESSetDM() or KSPSetDM() and then -snes_grid_sequence
NREFINEMENTS and -pc_type mg -pc_mg_levels NLEVELS will work as expected.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120109/9c77b381/attachment.html>


More information about the petsc-dev mailing list