TaoAppSetJacobianMat

Sets the matrix to be used for the Jacobian.

Synopsis

#include "tao.h"  
int TaoAppSetJacobianMat(TAO_APPLICATION taoapp,Mat J, Mat JP)
Collective on TAO_APPLICATION and Mat

Input Parameters

taoapp - the TAO_APPLICATION context
J - Jacobian matrix
JP - Preconditioner for Jacobian

Keywords

TAO_APPLICATION, Jacobian

See Also

TaoAppSetJacobianRoutine(), TaoAppSetFunctionVec()

Level:intermediate
Location:src/petsctao/application/petscapp/tao_app_j.c
TAO Solver Index
Table of Contents

Examples

src/complementarity/examples/tutorials/minsurf1.c.html
src/complementarity/examples/tutorials/blackscholes.c.html