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

            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