#include "pc.h" 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 |
Level:developer
Location:src/sles/pc/impls/shell/shellpc.c
PC Index
Table of Contents