:orphan:
# 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
src/snes/impls/nasm/nasm.c
## Implementations
SNESNASMSetDamping_NASM in src/snes/impls/nasm/nasm.c
---
[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)