petsc-3.3-p7 2013-05-11

TSGetIJacobian

Returns the implicit Jacobian at the present timestep.

Synopsis

#include "petscts.h"  
PetscErrorCode  TSGetIJacobian(TS ts,Mat *A,Mat *B,TSIJacobian *f,void **ctx)
Not Collective, but parallel objects are returned if TS is parallel

Input Parameter

ts -The TS context obtained from TSCreate()

Output Parameters

A - The Jacobian of F(t,U,U_t)
B - The preconditioner matrix, often the same as A
f - The function to compute the matrices
ctx - User-defined context for Jacobian evaluation routine

Notes: You can pass in PETSC_NULL for any return argument you do not need.

See Also

TSGetTimeStep(), TSGetRHSJacobian(), TSGetMatrices(), TSGetTime(), TSGetTimeStepNumber()

Keywords

TS, timestep, get, matrix, Jacobian

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