int PCShellSetApplyRichardson(PC pc, int (*apply)(void*,Vec,Vec,Vec,int),void *ptr)Collective on PC
pc | - the preconditioner context |
apply | - the application-provided preconditioning routine |
ptr | - pointer to data needed by this routine |
int apply (void *ptr,Vec x,Vec b,Vec r,int maxits)
ptr | - the application context |
x | - current iterate |
b | - right-hand-side |
r | - residual |
maxits | - maximum number of iterations |
Location: src/pc/impls/shell/shellpc.c
PC Index
Table of Contents