:orphan:
# TSThetaSetTheta
Set the abscissa of the stage in (0,1]  for `TSTHETA` 
## Synopsis
```
#include "petscts.h"   
PetscErrorCode TSThetaSetTheta(TS ts, PetscReal theta)
```
Not Collective


## Input Parameters

- ***ts -*** timestepping context
- ***theta -*** stage abscissa



## Options Database Key

- ***-ts_theta_theta <theta> -*** set theta





## See Also
 [](ch_ts), `TSThetaGetTheta()`, `TSTHETA`, `TSCN`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/impls/implicit/theta/theta.c.html#TSThetaSetTheta">src/ts/impls/implicit/theta/theta.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/tutorials/ex17.c.html">src/ts/tutorials/ex17.c</A><BR>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/impls/implicit/theta/theta.c.html#TSThetaSetTheta_Theta">TSThetaSetTheta_Theta in src/ts/impls/implicit/theta/theta.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/impls/implicit/theta/theta.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)  
