DAMGSetInitialGuess

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

Synopsis

#include "petscda.h"     
#include "petscmg.h"    
int DAMGSetInitialGuess(DAMG *damg,int (*guess)(SNES,Vec,void*))
Collective on DAMG and SNES

Input Parameter

damg - the context
guess - the function

See Also

DAMGCreate(), DAMGDestroy, DAMGSetSLES()

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
src/snes/examples/tutorials/ex19.c