[petsc-dev] Can someone explain what is going on here?

Matthew Knepley knepley at gmail.com
Tue May 21 07:46:25 CDT 2013


https://bitbucket.org/petsc/petsc/src/ff331c249a8bbf694711b310f25fec0e839b33db/src/ksp/ksp/interface/itfunc.c?at=master#cl-202

Dave has a DMComposite which he splits using FS, but then he wants
to use GMG on the velocity block. He manually sets the DM, but this
wipes out the matrix which FS set there.

Do we have a clear explanation of what setting a DM on the solver does?

  Thanks,

    Matt

-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130521/055ffbd6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stokes-mg.opts
Type: application/octet-stream
Size: 493 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130521/055ffbd6/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ex_stokes2d.c
Type: text/x-csrc
Size: 192116 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130521/055ffbd6/attachment.bin>


More information about the petsc-dev mailing list