[petsc-users] TS and SNES

Jed Brown jedbrown at mcs.anl.gov
Tue Nov 8 07:17:47 CST 2011


On Tue, Nov 8, 2011 at 06:33, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> Provide a residual vector here (instead of PETSC_NULL). Since you provided
> a state Vec in TSSetSolution(), it is possible to create a Vec for the
> residual. I'll add that logic and improve the error message, but for now,
> just pass in the residual Vec.


Also note that you can skip MatCreateSNESMF() and just pass
-snes_mf_operator.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111108/593f0952/attachment.htm>


More information about the petsc-users mailing list