# TSPVodeSetGMRESRestart

Sets the dimension of the Krylov space used by GMRES in the linear solver in PVODE. PVODE DOES NOT use restarted GMRES so this is ALSO the maximum number of GMRES steps that will be used.

### Synopsis

    #include "petscts.h"
    PetscErrorCode PETSCTS_DLLEXPORT TSPVodeSetGMRESRestart(TS ts,int restart)

Collective on TS

### Input parameters

| ts | - the time-step context
| restart | - number of direction vectors (the restart size).

### Keywords

GMRES, restart

### See Also

TSPVodeGetIterations(), TSPVodeSetType(),
TSPVodeSetLinearTolerance(), TSPVodeSetGramSchmidtType(), TSPVodeSetTolerance(), TSPVodeGetIterations(), TSPVodeSetType(), TSPVodeSetGMRESRestart(), TSPVodeSetLinearTolerance(), TSPVodeSetTolerance(), TSPVodeGetPC(), TSPVodeSetExactFinalTime()

Level:advanced
Location:src/ts/impls/implicit/pvode/petscpvode.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages