petsc-3.15.0 2021-03-30
SNESDestroy
Destroys the nonlinear solver context that was created with SNESCreate().
Synopsis
#include "petscsnes.h"
PetscErrorCode SNESDestroy(SNES *snes)
Collective on SNES
Input Parameter
See Also
SNESCreate(), SNESSolve()
Level
beginner
Location
src/snes/interface/snes.c
Examples
src/snes/tutorials/ex1.c.html
src/snes/tutorials/ex2.c.html
src/snes/tutorials/ex3.c.html
src/snes/tutorials/ex5.c.html
src/snes/tutorials/ex6.c.html
src/snes/tutorials/ex9.c.html
src/snes/tutorials/ex12.c.html
src/snes/tutorials/ex14.c.html
src/snes/tutorials/ex15.c.html
src/snes/tutorials/ex17.c.html
src/snes/tutorials/ex18.c.html
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages