# PCPARMSSetSolveRestart
Sets the number of iterations at which the inner GMRES solver restarts. 
## Synopsis
```
#include "petscpc.h" 
PetscErrorCode PCPARMSSetSolveRestart(PC pc, PetscInt restart)
```
Collective on pc


## Input Parameters

- ***pc -*** the preconditioner context
- ***restart -*** maximum dimension of the Krylov subspace



## Options Database Key

- ***-pc_parms_max_dim -*** sets the inner Krylov dimension





## Note
See the pARMS function parms_PCSetInnerKSize for more information.


## See Also
 `PCPARMS`, `PCPARMSSetSolveTolerances()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/pc/impls/parms/parms.c.html#PCPARMSSetSolveRestart">src/ksp/pc/impls/parms/parms.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/pc/impls/parms/parms.c.html#PCPARMSSetSolveRestart_PARMS">PCPARMSSetSolveRestart_PARMS in src/ksp/pc/impls/parms/parms.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/impls/parms/parms.c)


[Index of all PC routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
