petsc-3.3-p7 2013-05-11
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(), DMCreateInterpolation(), DMCreateColoring(), DMCreateMatrix(), 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
src/snes/examples/tutorials/ex4.c.html
src/snes/examples/tutorials/ex7.c.html
src/snes/examples/tutorials/ex8.c.html
src/snes/examples/tutorials/ex18.c.html
src/snes/examples/tutorials/ex20.c.html
src/snes/examples/tutorials/ex48.c.html