:orphan:
# TSComputeRHSJacobianP
Runs the user-defined JacobianP function. 
## Synopsis
```
#include "petscts.h"  
PetscErrorCode TSComputeRHSJacobianP(TS ts, PetscReal t, Vec U, Mat Amat)
```
Collective


## Input Parameters

- ***ts   -*** The `TS` context obtained from `TSCreate()`
- ***t -*** the time
- ***U -*** the solution at which to compute the Jacobian



## Output Parameter

- ***Amat -*** the computed Jacobian





## See Also
 [](ch_ts), `TSSetRHSJacobianP()`, `TS`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/interface/sensitivity/tssen.c.html#TSComputeRHSJacobianP">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](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
