Skip to main content
`Ctrl`+`K`

# EPSSetUp

Sets up all the internal data structures necessary for the execution of the eigensolver. Then calls `STSetUp()` for any set-up operations associated to the internal `ST` object.

## Synopsis

    #include "slepceps.h"
    PetscErrorCode EPSSetUp(EPS eps)

Collective

## Input Parameter

- eps - the linear eigensolver context

## Notes

This function need not be called explicitly in most cases, since `EPSSolve()` calls it. It can be useful when one wants to measure the set-up time separately from the solve time.

## See Also

EPS: Eigenvalue Problem Solver, `EPSCreate()`, `EPSSolve()`, `EPSDestroy()`, `STSetUp()`, `EPSSetInitialSpace()`, `EPSSetDeflationSpace()`

## Level

developer

## Location

src/eps/interface/epssetup.c

## Examples

src/eps/tutorials/ex47.c
src/eps/tutorials/ex19.c
src/eps/tutorials/ex25.c

## Implementations

EPSSetUp_LOBPCG() in src/eps/impls/cg/lobpcg/lobpcg.c
EPSSetUp_RQCG() in src/eps/impls/cg/rqcg/rqcg.c
EPSSetUp_CISS() in src/eps/impls/ciss/ciss.c
EPSSetUp_XD() in src/eps/impls/davidson/davidson.c
EPSSetUp_GD() in src/eps/impls/davidson/gd/gd.c
EPSSetUp_JD() in src/eps/impls/davidson/jd/jd.c
EPSSetUp_ARPACK() in src/eps/impls/external/arpack/arpack.c
EPSSetUp_BLOPEX() in src/eps/impls/external/blopex/blopex.c
EPSSetUp_ChASE() in src/eps/impls/external/chase/chase.c
EPSSetUp_Elemental() in src/eps/impls/external/elemental/elemental.cxx
EPSSetUp_ELPA() in src/eps/impls/external/elpa/elpa.c
EPSSetUp_EVSL() in src/eps/impls/external/evsl/evsl.c
EPSSetUp_FEAST() in src/eps/impls/external/feast/feast.c
EPSSetUp_PRIMME() in src/eps/impls/external/primme/primme.c
EPSSetUp_ScaLAPACK() in src/eps/impls/external/scalapack/scalapack.c
EPSSetUp_Arnoldi() in src/eps/impls/krylov/arnoldi/arnoldi.c
EPSSetUp_KrylovSchur() in src/eps/impls/krylov/krylovschur/krylovschur.c
EPSSetUp_Lanczos() in src/eps/impls/krylov/lanczos/lanczos.c
EPSSetUp_LAPACK() in src/eps/impls/lapack/lapack.c
EPSSetUp_LyapII() in src/eps/impls/lyapii/lyapii.c
EPSSetUp_Power() in src/eps/impls/power/power.c
EPSSetUp_Subspace() in src/eps/impls/subspace/subspace.c

Index of all EPS routines Table of Contents for all manual pages Index of all manual pages