#include "slepceps.h" PetscErrorCode EPSLyapIISetRanks(EPS eps,PetscInt rkc,PetscInt rkl)Logically Collective
eps | - the eigenproblem solver context | |
rkc | - the compressed rank | |
rkl | - the Lyapunov rank |
-eps_lyapii_ranks <rkc,rkl> | - Sets the rank parameters |
Lyapunov inverse iteration needs to solve a large-scale Lyapunov equation at each iteration of the eigensolver. For this, an iterative solver (LME) is used, which requires to prescribe the rank of the solution matrix X. This is the meaning of parameter rkl. Later, this matrix is compressed into another matrix of rank rkc. If not provided, rkl is a small multiple of rkc.