tao-2.1-p0 2012-07-24

TaoComputeJacobianState

Computes the Jacobian matrix that has been set with TaoSetJacobianStateRoutine().

Synopsis

#include "taosolver.h" 
PetscErrorCode TaoComputeJacobianState(TaoSolver tao, Vec X, Mat *J, Mat *Jpre, Mat *Jinv, MatStructure *flg)
Collective on TaoSolver

Input Parameters

solver - the TaoSolver solver context
xx - input vector

Output Parameters

H - Jacobian matrix
Hpre - Preconditioning matrix
flag - flag indicating matrix structure (SAME_NONZERO_PATTERN, DIFFERENT_NONZERO_PATTERN, or SAME_PRECONDITIONER)

Notes

Most users should not need to explicitly call this routine, as it is used internally within the minimization solvers.

TaoComputeJacobianState() is typically used within minimization implementations, so most users would not generally call this routine themselves.

See Also

TaoComputeObjective(), TaoComputeObjectiveAndGradient(), TaoSetJacobianStateRoutine(), TaoComputeJacobianDesign(), TaoSetStateDesignIS()

Level:developer
Location:src/interface/taosolver_hj.c
TAO Solver Index
Table of Contents