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,NEPNLEIGSSingularitiesFn *fun,void *ctx)
Logically Collective
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)
Notes#
The user-defined function can set a smaller value of maxnp if necessary. It is wrong to return a larger value.
If the problem type has been set to rational with NEPSetProblemType(), then it is not necessary to set the singularities explicitly since the solver will try to determine them automatically.
See Also#
NEPNLEIGSGetSingularitiesFunction(), NEPSetProblemType()
Level#
intermediate
Location#
Examples#
Implementations#
NEPNLEIGSSetSingularitiesFunction_NLEIGS() in src/nep/impls/nleigs/nleigs.c
Index of all NEP routines Table of Contents for all manual pages Index of all manual pages