#include "slepcnep.h" PetscErrorCode NEPNLEIGSSetRKShifts(NEP nep,PetscInt ns,PetscScalar shifts[])Collective
nep | - the nonlinear eigensolver context | |
ns | - number of shifts | |
shifts | - array of scalar values specifying the shifts |
-nep_nleigs_rk_shifts | - Sets the list of shifts |
In the case of real scalars, complex shifts are not allowed. In the command line, a comma-separated list of complex values can be provided with the format [+/-][realnumber][+/-]realnumberi with no spaces, e.g. -nep_nleigs_rk_shifts 1.0+2.0i,1.5+2.0i,1.0+1.5i
Use ns=0 to remove previously set shifts.