PETSc version 3.17.4
Fix/Edit manual page

# SNESGetType

Gets the SNES method type and name (as a string).

### Synopsis

    #include "petscsnes.h"
    PetscErrorCode  SNESGetType(SNES snes,SNESType *type)

Not Collective

### Input Parameter

| snes | - nonlinear solver context

### Output Parameter

| type | - SNES method (a character string)

### Level

intermediate

### Location

src/snes/interface/snes.c

### Examples

src/snes/tutorials/ex3.c.html
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages