PCApplyRichardson

Applies several steps of Richardson iteration with the particular preconditioner. This routine is usually used by the Krylov solvers and not the application code directly.

Synopsis

int PCApplyRichardson(PC pc,Vec x,Vec y,Vec w,int its)
Collective on PC

Input Parameters

pc - the preconditioner context
x - the initial guess
w - one work vector
its - the number of iterations to apply.

Output Parameter

y -the solution

Notes

Most preconditioners do not support this function. Use the commandPCApplyRichardsonExists() to determine if one does.

Keywords

PC, apply, Richardson

See Also

PCApplyRichardsonExists()

Location: src/pc/interface/precon.c
PC Index
Table of Contents