# TSForwardSetInitialSensitivities
Set initial values for tangent linear sensitivities 
## Synopsis
```
#include "petscts.h"  
PetscErrorCode TSForwardSetInitialSensitivities(TS ts, Mat didp)
```
Collective


## Input Parameters

- ***ts -*** the `TS` context obtained from `TSCreate()`
- ***didp -*** parametric sensitivities of the initial condition





## Notes
`TSSolve()` allows users to pass the initial solution directly to `TS`. But the tangent linear variables cannot be initialized in this way.
This function is used to set initial values for tangent linear variables.


## See Also
 [](chapter_ts), `TS`, `TSForwardSetSensitivities()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/interface/sensitivity/tssen.c.html#TSForwardSetInitialSensitivities">src/ts/interface/sensitivity/tssen.c</A>


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


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