[petsc-users] -snes_mf and -snes_fd

Jed Brown jed at jedbrown.org
Thu May 5 23:03:51 CDT 2016

Matthew Knepley <knepley at gmail.com> writes:
>> without -snes_mf AT ALL but with -snes_fd 0 I get RHS called 3 times [1]
> I need to see the output of -snes_view for these cases. Its possible that we
> have a bug related to the argument.

This case looks correct to me.  It's the same as passing no options, so
the analytic Jacobian gets used.  That said, our options scheme is lame
to use separate options when only one can possibly be used.  We should
have -snes_jacobian <analytic,mf,mf_operator,fd,fd_color> or similar.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160505/0e4c4324/attachment.pgp>

More information about the petsc-users mailing list