: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 src/ts/interface/sensitivity/tssen.c --- [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)