:orphan:
# SNESNASMSetType
Set the type of subdomain update used for the nonlinear additive Schwarz solver 
## Synopsis
```
#include "petscsnes.h"   
PetscErrorCode SNESNASMSetType(SNES snes, PCASMType type)
```
Logically Collective


## Input Parameters

- ***snes -*** the `SNES` context
- ***type -*** the type of update, `PC_ASM_BASIC` or `PC_ASM_RESTRICT`





## See Also
 `SNESNASM`, `SNESNASMGetType()`, `PCASMSetType()`, `PC_ASM_BASIC`, `PC_ASM_RESTRICT`, `PCASMType`

## Level
intermediate

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

## Implementations

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


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/snes/impls/nasm/nasm.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)  
