PetscErrorCode SNESUpdateCheckJacobian(SNES snes,PetscInt it)
-snes_check_jacobian | - use this every time SNESSolve() is called | |
-snes_check_jacobian_view | - Display difference between Jacobian approximated by finite-differencing and the hand-coded Jacobian |
difference | - ||J - Jd||, the norm of the difference of the hand-coded Jacobian J and the approximate Jacobian Jd obtained by finite-differencing the residual, | |
ratio | - ||J - Jd||/||J||, the ratio of the norms of the above difference and the hand-coded Jacobian. |
Level:intermediate
Location:src/snes/impls/test/snestest.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages