petsc-3.3-p7 2013-05-11

DMComputeFunction

computes the right hand side vector entries for the KSP solver or nonlinear function for SNES

Synopsis

#include "petscdm.h"     
PetscErrorCode  DMComputeFunction(DM dm,Vec x,Vec b)
Collective on DM

Input Parameter

dm - the DM object to destroy
x - the location where the function is evaluationed, may be ignored for linear problems
b - the vector to hold the right hand side entries

See Also

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

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