#include "petscdm.h" PetscErrorCode DMSetLocalJacobian(DM dm, PetscErrorCode (*lj)(DM, Vec, Mat, Mat, void *))Not collective
dm | - The DM | |
lj | - The local Jacobian function |
lj (SNES snes, Vec x, Mat J, Mat M, void *ctx);
snes | - the SNES context | |
x | - local vector with the state at which to evaluate residual | |
J | - matrix to put Jacobian in | |
M | - matrix to use for defining Jacobian preconditioner | |
ctx | - optional user-defined function context |
Level:intermediate
Location:src/dm/interface/dm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages