<div dir="ltr"><div><div><div><div>Dear Petsc-Users,<br><br></div>The SNES only converges for a small problem. I did the jacobian check. The result is sensitive to the
          choice of differencing parameter.<br><br>With the option "-snes_type test":<br><br>"Norm of matrix ratio 4.11569e-09 difference 7.64426e-07 (user-defined state)<br>Norm of matrix ratio 2.05846e-08 difference 3.89655e-06 (constant state -1.0)<br>Norm of matrix ratio 5.77446e-09 difference 1.09307e-06 (constant state 1.0)"<br><br></div>with the option "-snes_type test -mat_fd_type ds" :<br><br>"Norm of matrix ratio 1.05213e-07 difference 1.95418e-05 (user-defined state)<br>Norm of matrix ratio 2.51463e-07 difference 4.76004e-05 (constant state -1.0)<br>Norm of matrix ratio 2.81081e-08 difference 5.32071e-06 (constant state 1.0)".<br><br></div>Could you give me any hint where should I check for the error?<br><br></div>Khai<br><div><div><div><div><br>  <br></div></div></div></div></div>