:orphan: # TSSetMatStructure sets the relationship between the nonzero structure of the RHS Jacobian matrix to the IJacobian matrix. ## Synopsis ``` #include "petscts.h" PetscErrorCode TSSetMatStructure(TS ts, MatStructure str) ``` Logically Collective ## Input Parameters - ***ts -*** the time-stepper - ***str -*** the structure (the default is `UNKNOWN_NONZERO_PATTERN`) ## Note When the relationship between the nonzero structures is known and supplied the solution process can be much faster ## See Also [](ch_ts), `TS`, `MatAXPY()`, `MatStructure` ## Level intermediate ## Location src/ts/interface/ts.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/interface/ts.c) [Index of all TS routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)