PetscErrorCode (*apply)(void*,Vec,Vec);
PetscErrorCode (*applytrans)(void*,Vec,Vec);
PetscErrorCode (*backtr)(void*,PetscScalar*,PetscScalar*);
STCreate(comm,&st);
STSetType(st,STSHELL);
STShellSetApply(st,apply);
STShellSetApplyTranspose(st,applytrans);
STShellSetBackTransform(st,backtr); (optional)
Location: src/st/impls/shell/shell.c
Index of all ST routines
Table of Contents for all manual pages
Index of all manual pages