petsc-3.10.5 2019-03-28
SNESDestroy
Destroys the nonlinear solver context that was created with SNESCreate().
Synopsis
#include "petscsnes.h"
PetscErrorCode 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
Examples
src/snes/examples/tutorials/ex1.c.html
src/snes/examples/tutorials/ex2.c.html
src/snes/examples/tutorials/ex3.c.html
src/snes/examples/tutorials/ex5.c.html
src/snes/examples/tutorials/ex5s.c.html
src/snes/examples/tutorials/ex9.c.html
src/snes/examples/tutorials/ex12.c.html
src/snes/examples/tutorials/ex14.c.html
src/snes/examples/tutorials/ex15.c.html
src/snes/examples/tutorials/ex18.c.html
src/snes/examples/tutorials/ex19.c.html
Implementations
SNESDestroy_Composite in src/snes/impls/composite/snescomposite.c
SNESDestroy_FAS in src/snes/impls/fas/fas.c
SNESDestroy_NGS in src/snes/impls/gs/snesgs.c
SNESDestroy_KSPONLY in src/snes/impls/ksponly/ksponly.c
SNESDestroy_NEWTONLS in src/snes/impls/ls/ls.c
SNESDestroy_MS in src/snes/impls/ms/ms.c
SNESDestroy_Multiblock in src/snes/impls/multiblock/multiblock.c
SNESDestroy_ASPIN in src/snes/impls/nasm/aspin.c
SNESDestroy_NASM in src/snes/impls/nasm/nasm.c
SNESDestroy_NCG in src/snes/impls/ncg/snesncg.c
SNESDestroy_NGMRES in src/snes/impls/ngmres/snesngmres.c
SNESDestroy_QN in src/snes/impls/qn/qn.c
SNESDestroy_NRichardson in src/snes/impls/richardson/snesrichardson.c
SNESDestroy_Shell in src/snes/impls/shell/snesshell.c
SNESDestroy_NEWTONTR in src/snes/impls/tr/tr.c
SNESDestroy_VI in src/snes/impls/vi/vi.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages