#include "petscdm.h" #include "petscdmlabel.h" #include "petscds.h" PetscErrorCode DMSetVec(DM dm,Vec x)Collective on DM
dm | - the DM object | |
x | - location to compute residual and Jacobian, if NULL is passed to those routines; will be NULL for linear problems. |