slepc-3.16.1 2021-11-17
Report Typos and Errors

MFNSetDimensions

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

Synopsis

#include "slepcmfn.h" 
PetscErrorCode MFNSetDimensions(MFN mfn,PetscInt ncv)
Logically Collective on mfn

Input Parameters

mfn  - the matrix function context
ncv  - the maximum dimension of the subspace to be used by the solver

Options Database Keys

-mfn_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

MFNGetDimensions()

Location: src/mfn/interface/mfnopts.c
Index of all MFN routines
Table of Contents for all manual pages
Index of all manual pages