:orphan:
# TSRHSSplitGetSubTS
Get the sub-`TS` by split name. 
## Synopsis
```
#include "petscts.h"  
PetscErrorCode TSRHSSplitGetSubTS(TS ts, const char splitname[], TS *subts)
```
Logically Collective


## Input Parameter

- ***ts -*** the `TS` context obtained from `TSCreate()`



## Output Parameters

- ***splitname -*** the number of the split
- ***subts -*** the sub-`TS`





## See Also
 [](ch_ts), `TS`, `IS`, `TSGetRHSSplitFunction()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/interface/tsrhssplit.c.html#TSRHSSplitGetSubTS">src/ts/interface/tsrhssplit.c</A>


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


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