[petsc-users] KSP solver iteration stop criteria

Jed Brown jed at jedbrown.org
Fri Feb 14 13:13:31 CST 2014


Barry Smith <bsmith at mcs.anl.gov> writes:
> -ksp_norm_type unpreconditioned  -ksp_set_pc_side right 
>
> Don’t include the -ksp_set_pc_side right if you are using CG.

You can just leave it off all the time.  Just request unpreconditioned
norm and the PC side will be figured out automatically.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140214/a42c364b/attachment-0001.pgp>


More information about the petsc-users mailing list