PETSc version 3.17.4
Fix/Edit manual page

# TSComputeRHSJacobian

Computes the Jacobian matrix that has been set with TSSetRHSJacobian().

### Synopsis

    #include "petscts.h"
    PetscErrorCode  TSComputeRHSJacobian(TS ts,PetscReal t,Vec U,Mat A,Mat B)

Collective on TS

### Input Parameters

| ts | - the TS context
| t | - current timestep
| U | - input vector

### Output Parameters

| A | - Jacobian matrix
| B | - optional preconditioning matrix

### Notes

Most users should not need to explicitly call this routine, as it is used internally within the nonlinear solvers.

### See Also

TSSetRHSJacobian(), KSPSetOperators()

### Level

developer

### Location

src/ts/interface/ts.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages