petsc-3.14.6 2021-03-30
Report Typos and Errors

TaoComputeJacobianState

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

Synopsis

#include "petsctao.h" 
PetscErrorCode TaoComputeJacobianState(Tao tao, Vec X, Mat J, Mat Jpre, Mat Jinv)
Collective on Tao

Input Parameters

tao - the Tao solver context
X - input vector

Output Parameters

Jpre - Jacobian matrix
Jinv - Preconditioning matrix

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/tao/interface/taosolver_hj.c
Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages