:orphan: # TSComputeIJacobianP Runs the user-defined IJacobianP function. ## Synopsis ``` #include "petscts.h" PetscErrorCode TSComputeIJacobianP(TS ts, PetscReal t, Vec U, Vec Udot, PetscReal shift, Mat Amat, PetscBool imex) ``` Collective ## Input Parameters - ***ts -*** the `TS` context - ***t -*** current timestep - ***U -*** state vector - ***Udot -*** time derivative of state vector - ***shift -*** shift to apply, see note below - ***imex -*** flag indicates if the method is IMEX so that the RHSJacobianP should be kept separate ## Output Parameter - ***A -*** Jacobian matrix ## See Also [](ch_ts), `TS`, `TSSetIJacobianP()` ## 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)