#include "taosolver.h" PetscErrorCode TaoComputeJacobian(TaoSolver tao, Vec X, Mat *J, Mat *Jpre, MatStructure *flg)Collective on TaoSolver
| solver | - the TaoSolver solver context | |
| xx | - input vector |
| H | - Jacobian matrix | |
| Hpre | - Preconditioning matrix | |
| flag | - flag indicating matrix structure (SAME_NONZERO_PATTERN, DIFFERENT_NONZERO_PATTERN, or SAME_PRECONDITIONER) |
TaoComputeJacobian() is typically used within minimization implementations, so most users would not generally call this routine themselves.
Level:developer
Location:src/interface/taosolver_hj.c
TAO Solver Index
Table of Contents