int SNESComputeHessian(SNES snes,Vec x,Mat *A,Mat *B,MatStructure *flag)Collective on SNES and Mat
snes | - the SNES context |
x | - input vector |
A | - Hessian matrix |
B | - optional preconditioning matrix |
flag | - flag indicating matrix structure |
See SLESSetOperators() for important information about setting theflag parameter.
SNESComputeHessian() is valid only forSNES_UNCONSTRAINED_MINIMIZATION methods. An analogous routine forSNES_NONLINEAR_EQUATIONS methods is SNESComputeJacobian().
Location: src/snes/interface/snes.c
SNES Index
Table of Contents