# SNESMSGetType
Get the type of multistage smoother `SNESMS` 
## Synopsis
```
#include "petscsnes.h" 
PetscErrorCode SNESMSGetType(SNES snes, SNESMSType *mstype)
```
Not collective


## Input Parameter

- ***snes -*** nonlinear solver context



## Output Parameter

- ***mstype -*** type of multistage method





## See Also
 `SNESMS`, `SNESMSSetType()`, `SNESMSType`, `SNESMS`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/impls/ms/ms.c.html#SNESMSGetType">src/snes/impls/ms/ms.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/impls/ms/ms.c.html#SNESMSGetType_MS">SNESMSGetType_MS in src/snes/impls/ms/ms.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/snes/impls/ms/ms.c)


[Index of all SNES routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
