#include "petscsnes.h" int SNESDefaultComputeHessianColor(SNES snes,Vec x1,Mat *J,Mat *B,MatStructure *flag,void *ctx)Collective on SNES
x1 | - compute Hessian at this point | |
ctx | - application's gradient context, as set with SNESSetGradient() |
J | - Hessian matrix (not altered in this routine) | |
B | - newly computed Hessian matrix to use with preconditioner (generally the same as J) | |
flag | - flag indicating whether the matrix sparsity structure has changed |
.keywords: SNES, finite differences, Hessian, coloring, sparse
Level:intermediate
Location:src/snes/interface/snesj.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages