[petsc-dev] Problem with SNES and FieldSplit

Jed Brown jed at 59A2.org
Tue Mar 15 17:41:17 CDT 2011


On Tue, Mar 15, 2011 at 23:33, Matthew Knepley <knepley at gmail.com> wrote:

> If it does exactly what I just said, I will. However, from my reading, it
> does not.


You can do it with MatNestGetSubMats(), modify one entry,
MatNestSetSubMats(). But if you plan to do this often, add
MatNestUpdateSubMat(). Hmm, seems like MatNestGetSubMats() should return the
row and column ISs for symmetry.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110315/66b835a5/attachment.html>


More information about the petsc-dev mailing list