[petsc-users] Question on PETSc solver iteration and convergence

2014-01-27 Thread Danyang Su
Hi All, I implement KSP solver in a Newton iteration. The convergence parameters are: rtol 1.0E-8, abstol 1.0E-50, dtol 1.0E5, maxits 1000. Does the following convergence monitoring make sense? I thought the solver should stop before iteration 36, but it stops at iteration 70. 0 KSP

Re: [petsc-users] Question on PETSc solver iteration and convergence

2014-01-27 Thread Matthew Knepley
On Mon, Jan 27, 2014 at 4:27 PM, Danyang Su danyang...@gmail.com wrote: Hi All, I implement KSP solver in a Newton iteration. The convergence parameters are: rtol 1.0E-8, abstol 1.0E-50, dtol 1.0E5, maxits 1000. These tolerances use the preconditioned residual norm. You can sue the true

Re: [petsc-users] Question on PETSc solver iteration and convergence

2014-01-27 Thread Torquil Macdonald Sørensen
On 27/01/14 23:27, Danyang Su wrote: Does the following convergence monitoring make sense? I thought the solver should stop before iteration 36, but it stops at iteration 70. 0 KSP preconditioned resid norm 4.208619583781e-002 true resid norm 2.227983625699e-005 ||r(i)||/||b||