convergence monitoring

Andreas Grassl Andreas.Grassl at student.uibk.ac.at
Tue Oct 6 01:47:20 CDT 2009


Barry Smith schrieb:
> On Oct 5, 2009, at 11:09 AM, Andreas Grassl wrote:
>> Is there an easy (without hacking the PETSc sources) way to output a
>> customized
>> convergence monitoring line like -ksp_monitor_true_residual at every
>> step?
> 
>    What do you want to do? I cannot understand your question. You can
> use KSPMonitorSet() to
> provide any function you want to display residuals anyway you want.

This is the function I was searching. Surfing through the various routines I was
overlooking the short description and concentrated here only on the option keys :)

Cheers,

ando

-- 
 /"\                               Grassl Andreas
 \ /    ASCII Ribbon Campaign      Uni Innsbruck Institut f. Mathematik
  X      against HTML email        Technikerstr. 13 Zi 709
 / \                               +43 (0)512 507 6091


More information about the petsc-users mailing list