EPSGDGetInitialSize
Gets the initial size of the searching space. In the case of EPSGetKrylovStart is PETSC_FALSE and the user provides vectors by EPSSetInitialSpace, up to initialsize vectors will be used; and if the provided vectors are not enough, the solver completes the subspace with random vectors. In the case of EPSGetKrylovStart is PETSC_TRUE, the solver gets the first vector provided by the user or, if not, a random vector, and expands the Krylov basis up to initialsize vectors.
Synopsis
#include "slepceps.h"
PetscErrorCode EPSGDGetInitialSize(EPS eps,PetscInt *initialsize)
Collective on EPS
Input Parameter
eps - the eigenproblem solver context
Output Parameter
initialsize - non-zero positive integer indicating the number of vectors of
the initial searching subspace
See Also
EPSGDSetInitialSize(), EPSGetKrylovStart()
Location: src/eps/impls/davidson/gd/gd.c
Index of all EPS routines
Table of Contents for all manual pages
Index of all manual pages