Thank you. Now, I received the error which I should change Mat into mffd.<br><br><div class="gmail_quote">On Tue, Jun 12, 2012 at 8:22 PM, Jed Brown <span dir="ltr"><<a href="mailto:jedbrown@mcs.anl.gov" target="_blank">jedbrown@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><div class="gmail_quote">On Tue, Jun 12, 2012 at 10:50 AM, behzad baghapour <span dir="ltr"><<a href="mailto:behzad.baghapour@gmail.com" target="_blank">behzad.baghapour@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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?</blockquote></div><br></div><div>Use -snes_mf_operator instead of -snes_mf</div>
</blockquote></div><br>