DMSetInitialGuess
sets a function to compute an initial guess vector entries for the solvers
Synopsis
#include "petscdm.h"
PetscErrorCode DMSetInitialGuess(DM dm,PetscErrorCode (*f)(DM,Vec))
Logically Collective on DM
Input Parameter
| dm | - the DM object to destroy
|
| f | - the function to compute the initial guess
|
See Also
DMView(), DMCreateGlobalVector(), DMGetInterpolation(), DMGetColoring(), DMGetMatrix(), DMGetApplicationContext(), DMSetFunction(), DMSetJacobian()
Level:intermediate
Location:src/dm/interface/dm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages
Examples
src/ksp/ksp/examples/tutorials/ex45.c.html
src/ksp/ksp/examples/tutorials/ex45f.F.html