[petsc-dev] consequences of setting KSP_NORM_TYPE to NONE

Stefano Zampini stefano.zampini at gmail.com
Sun Jun 12 14:51:07 CDT 2016


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. 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_norm_type_none.diff
Type: application/octet-stream
Size: 738 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20160612/c7d6ab67/attachment.obj>


More information about the petsc-dev mailing list