SNESDestroy

Destroys the nonlinear solver context that was created with SNESCreate().

Synopsis

#include "petscsnes.h"  
int SNESDestroy(SNES snes)
Collective on SNES

Input Parameter

snes -the SNES context

Keywords

SNES, nonlinear, destroy

See Also

SNESCreate(), SNESSolve()

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

Examples

src/snes/examples/tutorials/ex1.c
src/snes/examples/tutorials/ex2.c
src/snes/examples/tutorials/ex3.c
src/snes/examples/tutorials/ex4.c
src/snes/examples/tutorials/ex5.c
src/snes/examples/tutorials/ex5c.c
src/snes/examples/tutorials/ex6.c
src/snes/examples/tutorials/ex7.c
src/snes/examples/tutorials/ex8.c
src/snes/examples/tutorials/ex5s.c
src/snes/examples/tutorials/ex9.c