#include "petscmat.h" #include "petscts.h" PetscErrorCode TSDefaultComputeJacobian(TS ts,PetscReal t,Vec xx1,Mat *J,Mat *B,MatStructure *flag,void *ctx)
ts | - TS context | |
xx1 | - compute Jacobian at this point | |
ctx | - application's function context, as set with SNESSetFunction() |
J | - Jacobian | |
B | - preconditioner, same as Jacobian | |
flag | - matrix flag |
Sparse approximations using colorings are also available and would be a much better alternative!
Level:intermediate
Location:src/ts/interface/tsfd.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages