# SNESNASMSetDamping
Sets the update damping for `SNESNASM` the nonlinear additive Schwarz solver 
## Synopsis
```
#include "petscsnes.h"   
PetscErrorCode SNESNASMSetDamping(SNES snes, PetscReal dmp)
```
Logically collective


## Input Parameters

- ***snes -*** the `SNES` context
- ***dmp -*** damping





## Notes
The new solution is obtained as old solution plus dmp times (sum of the solutions on the subdomains)


## See Also
 `SNESNASM`, `SNESNASMGetDamping()`

## Level
intermediate

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

## Implementations

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