slepc-main 2024-11-22
Report Typos and Errors

NEPFunctionFn

A prototype of a NEP function evaluation function that would be passed to NEPSetFunction()

Synopsis

PETSC_EXTERN_TYPEDEF typedef PetscErrorCode(NEPFunctionFn)(NEP nep,PetscScalar lambda,Mat T,Mat P,void *ctx);

Calling Sequence

nep  - eigensolver context obtained from NEPCreate()
lambda  - the scalar argument where T(.) must be evaluated
T  - matrix that will contain T(lambda)
P  - [optional] different matrix to build the preconditioner
ctx  - [optional] user-defined context for private data for the function evaluation routine (may be NULL)

See Also

NEPSetFunction()

Level

beginner

Location

include/slepcnep.h

Index of all NEP routines
Table of Contents for all manual pages
Index of all manual pages