#include "petscksp.h" PetscErrorCode PETSCKSP_DLLEXPORT PCApplyRichardson(PC pc,Vec x,Vec y,Vec w,PetscReal rtol,PetscReal abstol, PetscReal dtol,PetscInt its,PetscInt *outits,PCRichardsonConvergedReason *reason)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. |
outits | - number of iterations actually used (for SOR this always equals its) | |
reason | - the reason the apply terminated | |
y | - the solution |
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