:orphan: # SNESCompositeSetDamping Sets the damping of a subsolver when using `SNES_COMPOSITE_ADDITIVE` `SNESCOMPOSITE` ## Synopsis ``` #include "petscsnes.h" PetscErrorCode SNESCompositeSetDamping(SNES snes, PetscInt n, PetscReal dmp) ``` Not Collective ## Input Parameters - ***snes -*** the snes context - ***n -*** the number of the sub-`SNES` object requested - ***dmp -*** the damping ## See Also `SNES`, `SNESCOMPOSITE`, `SNESCompositeAddSNES()`, `SNESCompositeGetSNES()`, `SNES_COMPOSITE_ADDITIVE`, `SNES_COMPOSITE_MULTIPLICATIVE`, `SNESCompositeType`, `SNESCompositeSetType()` ## Level intermediate ## Location src/snes/impls/composite/snescomposite.c ## Implementations SNESCompositeSetDamping_Composite in src/snes/impls/composite/snescomposite.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/snes/impls/composite/snescomposite.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)