:orphan:
# SNESMSSetType
Set the type of multistage smoother `SNESMS` 
## Synopsis
```
#include "petscsnes.h" 
PetscErrorCode SNESMSSetType(SNES snes, SNESMSType mstype)
```
Logically Collective


## Input Parameters

- ***snes -*** nonlinear solver context
- ***mstype -*** type of multistage method





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

## Level
advanced

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

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/impls/ms/ms.c.html#SNESMSSetType_MS">SNESMSSetType_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](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
