#include "slepceps.h" PetscErrorCode EPSKrylovSchurGetInertias(EPS eps,PetscInt *n,PetscReal *shifts[],PetscInt *inertias[])Not Collective
eps | - the eigenproblem solver context |
n | - number of shifts, including the endpoints of the interval | |
shifts | - the values of the shifts used internally in the solver | |
inertias | - the values of the inertia in each shift |
This function is only available for spectrum slicing runs.
The returned arrays should be freed by the user. Can pass NULL in any of the two arrays if not required.
EPSKrylovSchurGetInertias(eps,n,shifts,inertias,ierr) integer n double precision shifts(*) integer inertias(*)The arrays should be at least of length n. The value of n can be determined by an initial call
EPSKrylovSchurGetInertias(eps,n,PETSC_NULL_REAL_ARRAY,PETSC_NULL_INTEGER_ARRAY,ierr)