#include "petscksp.h" PetscErrorCode KSPMonitorDynamicTolerance(KSP ksp,PetscInt its,PetscReal fnorm,void *dummy)Collective on KSP Many br
ksp | - iterative context Many br | |
n | - iteration number (not used) Many br | |
fnorm | - the current residual norm Many br | |
dummy | - some context as a C struct. fields: Many brcoef: a scaling coefficient. default 1.0. can be passed through Many br-sub_ksp_dynamic_tolerance_param Many brbnrm: norm of the right-hand side. store it to avoid repeated calculation Many br |