slepc-3.13.0 2020-03-31
Report Typos and Errors

STSHELL

Creates a new spectral transformation class. This is intended to provide a simple class to use with EPS. You should not use this if you plan to make a complete class.

Usage

            extern PetscErrorCode (*apply)(void*,Vec,Vec);
            extern PetscErrorCode (*applytrans)(void*,Vec,Vec);
            extern PetscErrorCode (*backtr)(void*,PetscScalar*,PetscScalar*);

            STCreate(comm,&st);
            STSetType(st,STSHELL);
            STShellSetContext(st,ctx);
            STShellSetApply(st,apply);
            STShellSetApplyTranspose(st,applytrans);  (optional)
            STShellSetBackTransform(st,backtr);       (optional)

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

Examples

src/eps/tutorials/ex10.c.html
src/eps/tutorials/ex35.c.html
src/eps/tutorials/ex36.c.html