[petsc-users] difference between left and right pc

Jed Brown jedbrown at mcs.anl.gov
Mon Sep 24 08:41:03 CDT 2012


On Mon, Sep 24, 2012 at 8:36 AM, Klaij, Christiaan <C.Klaij at marin.nl> wrote:

> I can't do that, it's a matshell.


You can use MatComputeExplicitOperator or MatFDColoring to get the entries.
Also, make sure the MATSHELL is really, truly a linear operator. You'll get
very confusing results if you accidentally leave some nonlinearity inside
that function.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120924/e3aed032/attachment.html>


More information about the petsc-users mailing list