#include "petscksp.h" PetscErrorCode PETSCKSP_DLLEXPORT PCApplyRichardson(PC pc,Vec x,Vec y,Vec w,PetscReal rtol,PetscReal abstol, PetscReal dtol,PetscInt its)Collective on PC
| pc | - the preconditioner context | |
| x | - the initial guess | |
| w | - one work vector | |
| rtol | - relative decrease in residual norm convergence criteria | |
| abstol | - absolute residual norm convergence criteria | |
| dtol | - divergence residual norm increase criteria | |
| its | - the number of iterations to apply. |
Except for the multigrid PC this routine ignores the convergence tolerances and always runs for the number of iterations
Level:developer
Location:src/ksp/pc/interface/precon.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages