TaoGetJacobianEqualityRoutine#
Gets the function used to compute equality constraint Jacobian.
Synopsis#
#include "petsctao.h" 
PetscErrorCode TaoGetJacobianEqualityRoutine(Tao tao, Mat *J, Mat *Jpre, PetscErrorCode (**func)(Tao tao, Vec x, Mat J, Mat Jpre, void *ctx), void **ctx)
Not Collective
Input Parameter#
- tao - the - Taocontext
Output Parameters#
- J - the matrix to internally hold the constraint computation 
- Jpre - the matrix used to construct the preconditioner 
- func - Jacobian evaluation routine 
- ctx - the (optional) user-defined context 
Calling sequence of func#
- tao - the - Taocontext
- x - input vector 
- J - Jacobian matrix 
- Jpre - matrix used to construct the preconditioner, usually the same as - J
- ctx - [optional] user-defined Jacobian context 
See Also#
TAO: Optimization Solvers, Tao, TaoComputeJacobianEquality(), TaoSetJacobianEqualityRoutine()
Level#
intermediate
Location#
src/tao/interface/taosolver_hj.c
Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages