petsc-3.4.2 2013-07-02

# SNESGetGS

Returns the GS function and context.

### Synopsis

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

### Input Parameter

snes -the SNES context

### Output Parameter

| SNESGSFunction | - the function (or NULL)
| ctx | - the function context (or 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