#include "slepcpep.h" PetscErrorCode PEPGetScale(PEP pep,PEPScale *scale,PetscReal *alpha,Vec *Dl,Vec *Dr,PetscInt *its,PetscReal *lambda)Not Collectiv, but vectors are shared by all processors that share the PEP
pep | - the eigensolver context |
scale | - scaling strategy | |
alpha | - the scaling factor used in the scalar strategy | |
Dl | - the left diagonal matrix of the diagonal scaling algorithm | |
Dr | - the right diagonal matrix of the diagonal scaling algorithm | |
its | - number of iterations of the diagonal scaling algorithm | |
lambda | - approximation to wanted eigenvalues (modulus) |
If Dl or Dr were not set by the user, then the ones computed internally are returned (or a null pointer if called before PEPSetUp).