#include "petscksp.h" PetscErrorCode KSPCheckSolve(KSP ksp,PC pc,Vec vec)Collective on ksp
ksp | - the linear solver (KSP) context. | |
pc | - the preconditioner context | |
vec | - a vector that will be initialized with Inf to indicate lack of convergence |
Notes: this may be called by a subset of the processes in the PC
Developer Note: this is used to manage returning from preconditioners whose inner KSP solvers have failed in some way