# TSSSPSetType
set the `TSSSP` time integration scheme to use 
## Synopsis
```
#include "petscts.h"   
PetscErrorCode TSSSPSetType(TS ts, TSSSPType ssptype)
```
Logically Collective


## Input Parameters

- ***ts -*** time stepping object
- ***ssptype -*** type of scheme to use



## Options Database Keys

- ***-ts_ssp_type <rks2>               -*** Type of `TSSSP` method (one of) rks2 rks3 rk104
- ***-ts_ssp_nstages<rks2: 5, rks3: 9> -*** Number of stages





## See Also
 [](chapter_ts), `TSSSP`, `TSSSPGetType()`, `TSSSPSetNumStages()`, `TSSSPRKS2`, `TSSSPRKS3`, `TSSSPRK104`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/impls/explicit/ssp/ssp.c.html#TSSSPSetType">src/ts/impls/explicit/ssp/ssp.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/impls/explicit/ssp/ssp.c.html#TSSSPSetType_SSP">TSSSPSetType_SSP in src/ts/impls/explicit/ssp/ssp.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/impls/explicit/ssp/ssp.c)


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