STShellSetApply

Sets routine to use as the application of the operator to a vector in the user-defined spectral transformation.

Synopsis

#include "slepcst.h" 
int STShellSetApply(ST st, int (*apply)(void*,Vec,Vec),void *ptr)
Collective on ST

Input Parameters

st - the spectral transformation context
apply - the application-provided transformation 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

See Also

STShellSetBackTransform()

Level:developer
Location:
src/st/impls/shell/shell.c
Index of all ST routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/examples/ex10.c.html