#include "slepceps.h" PetscErrorCode EPSEVSLSetDOSParameters(EPS eps,EPSEVSLDOSMethod dos,PetscInt nvec,PetscInt deg,PetscInt steps,PetscInt npoints)Logically Collective
eps | - the eigensolver context | |
dos | - DOS method, either KPM or Lanczos | |
nvec | - number of sample vectors | |
deg | - polynomial degree (KPM only) | |
steps | - number of Lanczos steps (Lanczos only) | |
npoints | - number of sample points (Lanczos only) |
-eps_evsl_dos_method <dos> | - set the DOS method, either kpm or lanczos | |
-eps_evsl_dos_nvec <n> | - set the number of sample vectors | |
-eps_evsl_dos_degree <n> | - set the polynomial degree | |
-eps_evsl_dos_steps <n> | - set the number of Lanczos steps | |
-eps_evsl_dos_npoints <n> | - set the number of sample points |
For the integer argumens, you can use PETSC_CURRENT to keep the current value, and PETSC_DETERMINE to set them to a reasonable default.