petsc-3.4.2 2013-07-02

# SNESComputeGS

Calls the Gauss-Seidel function that has been set with SNESSetGS().

### Synopsis

    #include "petscsnes.h"
    PetscErrorCode  SNESComputeGS(SNES snes,Vec b,Vec x)

Collective on SNES

### Input Parameters

| snes | - the SNES context
| x | - input vector
| b | - rhs vector

### Output Parameter

x -new solution vector

### Notes

SNESComputeGS() is typically used within composed nonlinear solver implementations, so most users would not generally call this routine themselves.

### Keywords

SNES, nonlinear, compute, function

### See Also

SNESSetGS(), SNESComputeFunction()

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