petsc-3.3-p7 2013-05-11

DMGetLocalJacobian

Get the local Jacobian function from this DM

Synopsis

#include "petscdm.h"     
PetscErrorCode DMGetLocalJacobian(DM dm, PetscErrorCode (**lj)(DM, Vec, Mat, Mat, void *))
Not collective

Input Parameter

dm -The DM

Output Parameter

lj -The local Jacobian function

Calling sequence of lj

   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

See Also

DMSetLocalJacobian(), DMGetLocalFunction(), DMSetLocalFunction()

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