int SNESDefaultComputeJacobian(SNES snes,Vec x1,Mat *J,Mat *B, MatStructure *flag,void *ctx)Collective on SNES
x1 | - compute Jacobian at this point |
ctx | - application's function context, as set with SNESSetFunction() |
J | - Jacobian matrix (not altered in this routine) |
B | - newly computed Jacobian matrix to use with preconditioner (generally the same as J) |
flag | - flag indicating whether the matrix sparsity structure has changed |
An alternative routine that uses coloring to explot matrix sparsity isSNESDefaultComputeJacobianWithColoring().
Location: src/snes/interface/snesj.c
SNES Index
Table of Contents