slepc-3.22.2 2024-12-02
Report Typos and Errors

# PEPSTOARSetDimensions

Sets the dimensions used for each subsolve step in case of doing spectrum slicing for a computational interval. The meaning of the parameters is the same as in PEPSetDimensions().

### Synopsis

    #include "slepcpep.h"
    PetscErrorCode PEPSTOARSetDimensions(PEP pep,PetscInt nev,PetscInt ncv,PetscInt mpd)

Logically Collective

### Input Parameters

| pep | - the eigenproblem solver context
| nev | - number of eigenvalues to compute
| ncv | - the maximum dimension of the subspace to be used by the subsolve
| mpd | - the maximum dimension allowed for the projected problem

### Options Database Key

| -pep_stoar_nev <nev> | - Sets the number of eigenvalues
| -pep_stoar_ncv <ncv> | - Sets the dimension of the subspace
| -pep_stoar_mpd <mpd> | - Sets the maximum projected dimension

### See Also

PEPSTOARGetDimensions(), PEPSetDimensions(), PEPSetInterval()

### Level

advanced

### Location

src/pep/impls/krylov/stoar/stoar.c
Index of all PEP routines
Table of Contents for all manual pages
Index of all manual pages