#include "petscksp.h" PetscErrorCode KSPLSQRGetNorms(KSP ksp,PetscReal *arnorm, PetscReal *anorm)Not Collective
ksp | - iterative context |
arnorm | - good estimate of norm((A*inv(Pmat))'*r), where r = A*x - b, used in specific stopping criterion | |
anorm | - poor estimate of norm(A*inv(Pmat),'fro') used in specific stopping criterion |