# TSSSPGetNumStages
get the number of stages in the `TSSSP` time integration scheme 
## Synopsis
```
#include "petscts.h"   
PetscErrorCode TSSSPGetNumStages(TS ts, PetscInt *nstages)
```
Logically Collective


## Input Parameter

- ***ts -*** time stepping object



## Output Parameter

- ***nstages -*** 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#TSSSPGetNumStages">src/ts/impls/explicit/ssp/ssp.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/impls/explicit/ssp/ssp.c.html#TSSSPGetNumStages_SSP">TSSSPGetNumStages_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)  
