PCShellSetApplyTrans

Sets routine to use as preconditioner transpose.

Synopsis

int PCShellSetApplyTrans(PC pc, int (*applytrans)(void*,Vec,Vec))
Collective on PC

Input Parameters

pc - the preconditioner context
apply - the application-provided preconditioning transpose routine

Calling sequence of apply

   int applytrans (void *ptr,Vec xin,Vec xout)

ptr - the application context
xin - input vector
xout - output vector

Notes

Uses the same context variable as PCShellSetApply().

Keywords

PC, shell, set, apply, user-provided

See Also

PCShellSetApplyRichardson(), PCShellSetSetUp(), PCShellSetApply()

Level:developer
Location:src/sles/pc/impls/shell/shellpc.c
PC Index
Table of Contents