petsc-3.3-p7 2013-05-11

DMComputeJacobianDefault

computes the Jacobian using the DMComputeFunction() if Jacobian computer is not provided

Synopsis

#include "petscdm.h"     
PetscErrorCode  DMComputeJacobianDefault(DM dm,Vec x,Mat A,Mat B,MatStructure *stflag)
Collective on DM

Input Parameter

dm - the DM object
x - location to compute Jacobian at; may be ignored for linear problems
A - matrix that defines the operator for the linear solve
B - the matrix used to construct the preconditioner

See Also

DMView(), DMCreateGlobalVector(), DMCreateInterpolation(), DMCreateColoring(), DMCreateMatrix(), DMGetApplicationContext(), DMSetInitialGuess(),
DMSetFunction()

Level:developer
Location:
src/dm/interface/dm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages