petsc-3.3-p7 2013-05-11

DMDAFormjacobianLocal

This is a universal Jacobian evaluation routine for a local DM function.

Synopsis

#include "petscdmda.h"   
PetscErrorCode  DMDAFormJacobianLocal(DM da, DMDALocalFunction1 func, Vec X, Mat J, void *ctx)
Collective on DMDA

Input Parameters

da - the DM context
func - The local function
X - input vector
J - Jacobian matrix
ctx - A user context

See Also

DMDASetLocalFunction(), DMDASetLocalJacobian(), DMDASetLocalAdicFunction(), DMDASetLocalAdicMFFunction(),
SNESSetFunction(), SNESSetJacobian()

Level:intermediate
Location:
src/dm/impls/da/da2.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages