#include "petscpc.h" PetscErrorCode PCPARMSSetSolveTolerances(PC pc,PetscReal tol,PetscInt maxits)Collective on PC
pc | - the preconditioner context | |
tol | - the convergence tolerance | |
maxits | - the maximum number of iterations to use |
-pc_parms_solve_tol | - set the tolerance for local solve | |
-pc_parms_max_it | - set the maximum number of inner iterations |