petsc-3.7.1 2016-05-15
Report Typos and Errors

DMSetVec

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

Synopsis

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

Input Parameter

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

Many br

See Also

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

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