slepc-3.15.2 2021-09-20
Report Typos and Errors

# LMESetDimensions

Sets the dimension of the subspace to be used by the solver.

### Synopsis

    #include "slepclme.h"
    PetscErrorCode LMESetDimensions(LME lme,PetscInt ncv)

Logically Collective on lme

### Input Parameters

| lme | - the linear matrix equation solver context
| ncv | - the maximum dimension of the subspace to be used by the solver

### Options Database Keys

| -lme_ncv <ncv> | - Sets the dimension of the subspace

### Notes

Use PETSC_DEFAULT for ncv to assign a reasonably good value, which is dependent on the solution method.

### See Also

LMEGetDimensions()

Location: src/lme/interface/lmeopts.c
Index of all LME routines
Table of Contents for all manual pages
Index of all manual pages