1c4762a1bSJed Brown ---------- Testing Jacobian ------------- 2c4762a1bSJed Brown Run with -snes_test_jacobian_view and optionally -snes_test_jacobian <threshold> to show difference 3c4762a1bSJed Brown of hand-coded and finite difference Jacobian entries greater than <threshold>. 4c4762a1bSJed Brown Testing hand-coded Jacobian, if (for double precision runs) ||J - Jfd||_F/||J||_F is 5c4762a1bSJed Brown O(1.e-8), the hand-coded Jacobian is probably correct. 6c4762a1bSJed Brown ||J - Jfd||_F/||J||_F = 1.32937e-08, ||J - Jfd||_F = 9.15765e-07 7c4762a1bSJed Brown ---------- Testing Jacobian ------------- 8c4762a1bSJed Brown ||J - Jfd||_F/||J||_F = 1.32668e-08, ||J - Jfd||_F = 9.13916e-07 9*410585f6SHong Zhang ---------- Testing Jacobian ------------- 10*410585f6SHong Zhang ||J - Jfd||_F/||J||_F = 1.32465e-08, ||J - Jfd||_F = 9.12519e-07 11*410585f6SHong Zhang ---------- Testing Jacobian ------------- 12*410585f6SHong Zhang ||J - Jfd||_F/||J||_F = 4.53158e-05, ||J - Jfd||_F = 0.00303076 13