#include "snes.h" int SNESGetJacobian(SNES snes,Mat *A,Mat *B,void **ctx)Not Collective, but Mat object will be parallel if SNES object is
A | - location to stash Jacobian matrix (or PETSC_NULL) | |
B | - location to stash preconditioner matrix (or PETSC_NULL) | |
ctx | - location to stash Jacobian ctx (or PETSC_NULL) |
Level:advanced
Location:src/snes/interface/snes.c
SNES Index
Table of Contents