[petsc-users] SNESSetJacobian and TSSetRHSJacobian

Zou (Non-US), Ling ling.zou at inl.gov
Wed May 22 16:03:18 CDT 2013


Hi All,

In 'SNESSetJacobian' I could pass 'SNESDefaultComputeJacobian' to let PETSc
do the finite differencing for me to calculate Jacobian, i.e.,

SNESSetJacobian(snes, J, J, SNESDefaultComputeJacobian, PETSC_NULL);


In TSSetRHSJacobian, this options seems to be invalid, i.e., it requires a
function to evaluate the Jacobian, i.e.,


TSSetRHSJacobian(ts, J, J, FormRHSJacobian, PETSC_NULL);


Is it possible that TS could also use PETSc finite differencing Jacobian as
SNES does?


Best,


Ling
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130522/355f6f5e/attachment.html>


More information about the petsc-users mailing list