#include "petscsnes.h" #include "petscdmshell.h" #include "petscsys.h" PetscErrorCode SNESSetGS(SNES snes,PetscErrorCode (*gsfunc)(SNES,Vec,Vec,void*),void *ctx)
| snes | - the SNES context | |
| gsfunc | - function evaluation routine | |
| ctx | - [optional] user-defined context for private data for the smoother evaluation routine (may be PETSC_NULL) |
func (SNES snes,Vec x,Vec b,void *ctx);
| X | - solution vector | |
| B | - RHS vector | |
| ctx | - optional user-defined Gauss-Seidel context |
Level:intermediate
Location:src/snes/interface/snes.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages