PCShellSetApply
Sets routine to use as preconditioner.
Synopsis
int PCShellSetApply(PC pc, int (*apply)(void*,Vec,Vec),void *ptr)
Collective on
PC
Input Parameters
pc | - the preconditioner context
|
apply | - the application-provided preconditioning routine
|
ptr | - pointer to data needed by this routine
|
Calling sequence of apply
int apply (void *ptr,Vec xin,Vec xout)
ptr -the application context
xin -input vector
xout -output vector
Keywords
PC, shell, set, apply, user-provided
See Also
PCShellSetApplyRichardson()
Examples
src/sles/examples/tutorials/ex15f.F
src/sles/examples/tutorials/ex15.c
src/snes/examples/tutorials/ex6.c
Location: src/pc/impls/shell/shellpc.c
PC Index
Table of Contents