slepc-3.7.3 2016-09-29
Report Typos and Errors

NEPNLEIGSSetSingularitiesFunction

Sets a user function to compute a discretization of the singularity set (where T(.) is not analytic).

Synopsis

#include "slepcnep.h" 
PetscErrorCode NEPNLEIGSSetSingularitiesFunction(NEP nep,PetscErrorCode (*fun)(NEP,PetscInt*,PetscScalar*,void*),void *ctx)
Logically Collective on NEP

Input Parameters

nep  - the NEP context
fun  - user function (if NULL then NEP retains any previously set value)
ctx  - [optional] user-defined context for private data for the function (may be NULL, in which case NEP retains any previously set value)

Calling Sequence of fun

  fun(NEP nep,PetscInt *maxnp,PetscScalar *xi,void *ctx)

nep  - the NEP context
maxnp  - on input number of requested points in the discretization (can be set)
xi  - computed values of the discretization
ctx  - optional context, as set by NEPNLEIGSSetSingularitiesFunction()

Note

The user-defined function can set a smaller value of maxnp if necessary.

See Also

NEPNLEIGSGetSingularitiesFunction()

Location: src/nep/impls/nleigs/nleigs.c
Index of all NEP routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/nep/examples/tutorials/ex27.c.html
src/nep/examples/nlevp/gun.c.html