[petsc-users] preconditioning with Matrix-Free SNES

behzad baghapour behzad.baghapour at gmail.com
Tue Jun 12 11:12:19 CDT 2012


Thank you. Now, I received the error which I should change Mat into mffd.

On Tue, Jun 12, 2012 at 8:22 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> On Tue, Jun 12, 2012 at 10:50 AM, behzad baghapour <
> behzad.baghapour at gmail.com> wrote:
>
>> Since the option "-snes_mf" does not call FormJacobian, then how I should
>> set the required preconditioning matrix in the procedure of matrix-free
>> SNES?
>
>
> Use -snes_mf_operator instead of -snes_mf
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120612/989cb64e/attachment.html>


More information about the petsc-users mailing list