DMMGSetInitialGuess

Sets the function that computes an initial guess, if not given uses 0.

Synopsis

#include "petscda.h"     
#include "petscmg.h"    
int DMMGSetInitialGuess(DMMG *dmmg,int (*guess)(SNES,Vec,void*))
Collective on DMMG and SNES

Input Parameter

dmmg - the context
guess - the function

See Also

DMMGCreate(), DMMGDestroy, DMMGSetSLES()

Level:advanced
Location:
src/snes/utils/damgsnes.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/snes/examples/tutorials/ex18.c.html
src/snes/examples/tutorials/ex19.c.html
src/snes/examples/tutorials/ex20.c.html