petsc-3.3-p7 2013-05-11

DMSNESSetPicard

set SNES Picard iteration matrix and RHS evaluation functions.

Synopsis

#include "petscsnes.h" 
#include "petscdm.h" 
PetscErrorCode DMSNESSetPicard(DM dm,PetscErrorCode (*pfunc)(SNES,Vec,Vec,void*),PetscErrorCode (*pjac)(SNES,Vec,Mat*,Mat*,MatStructure*,void*),void *ctx)
Not Collective

Input Argument

dm - DM to be used with SNES
func - RHS evaluation function, see SNESSetFunction() for calling sequence
pjac - Picard matrix evaluation function, see SNESSetJacobian() for calling sequence
ctx - context for residual evaluation

See Also

SNESSetPicard(), DMSNESSetFunction(), DMSNESSetJacobian()

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