petsc-3.3-p7 2013-05-11

SNESGetGS

Returns the GS function and context.

Synopsis

#include "petscsnes.h"  
#include "petscdmshell.h" 
#include "petscsys.h" 
#undef __FUNCT__
#define __FUNCT__ "SNESGetGS"
PetscErrorCode SNESGetGS (SNES snes, PetscErrorCode(**func)(SNES, Vec, Vec, void*), void ** ctx) 

Input Parameter

snes -the SNES context

Output Parameter

gsfunc - the function (or PETSC_NULL)
ctx - the function context (or PETSC_NULL)

Keywords

SNES, nonlinear, get, function

See Also

SNESSetGS(), SNESGetFunction()

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