[petsc-dev] consequences of setting KSP_NORM_TYPE to NONE

Barry Smith bsmith at mcs.anl.gov
Sun Jun 12 21:59:47 CDT 2016


   This looks like a reasonable fix for me. The manual page should indicate that it changes the convergence test if you change from no norm.

   Barry


> On Jun 12, 2016, at 2:51 PM, Stefano Zampini <stefano.zampini at gmail.com> wrote:
> 
> As of today, a code like this
> 
> KSPSetNormType(ksp,KSP_NORM_NONE);
> KSPSetFromOptions(ksp);
> 
> will produce a KSP that will always skip the convergence tests, even if we specify -ksp_norm_type whatever at command line. Is this the expected behavior?
> If not, a tentative patch is attached. 
> 
> 
> <fix_norm_type_none.diff>




More information about the petsc-dev mailing list