petsc-3.3-p7 2013-05-11

SNESGetPicard

Returns the context for the Picard iteration

Synopsis

#include "petscsnes.h"  
#include "petscdmshell.h" 
#include "petscsys.h" 
PetscErrorCode  SNESGetPicard(SNES snes,Vec *r,PetscErrorCode (**func)(SNES,Vec,Vec,void*),Mat *jmat, Mat *mat, PetscErrorCode (**mfunc)(SNES,Vec,Mat*,Mat*,MatStructure*,void*),void **ctx)
Not Collective, but Vec is parallel if SNES is parallel. Collective if Vec is requested, but has not been created yet.

Input Parameter

snes -the SNES context

Output Parameter

r - the function (or PETSC_NULL)
func - the function (or PETSC_NULL)
jmat - the picard matrix (or PETSC_NULL)
mat - the picard preconditioner matrix (or PETSC_NULL)
mfunc - the function for matrix evaluation (or PETSC_NULL)
ctx - the function context (or PETSC_NULL)

Keywords

SNES, nonlinear, get, function

See Also

SNESSetPicard, SNESGetFunction, SNESGetJacobian, SNESGetDM

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