petsc-3.3-p7 2013-05-11

DMSetVec

set the vector at which to compute residual, Jacobian and VI bounds, if the problem is nonlinear.

Synopsis

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

Input Parameter

dm - the DM object
x - location to compute residual and Jacobian, if PETSC_NULL is passed to those routines; will be PETSC_NULL for linear problems.

See Also

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

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