:orphan: # PCGAMGSetThresholdScale Relative threshold reduction at each level ## Synopsis ``` #include "petscpc.h" #include "petscksp.h" PetscErrorCode PCGAMGSetThresholdScale(PC pc, PetscReal v) ``` Not Collective ## Input Parameters - ***pc -*** the preconditioner context - ***scale -*** the threshold value reduction, usually < 1.0 ## Options Database Key - ***-pc_gamg_threshold_scale -*** set the relative threshold reduction on each level ## Note The initial threshold (for an arbitrary number of levels starting from the finest) can be set with `PCGAMGSetThreshold()`. This scaling is used for each subsequent coarsening, but must be called before `PCGAMGSetThreshold()`. ## See Also `PCGAMG`, `PCGAMGSetThreshold()` ## Level advanced ## Location src/ksp/pc/impls/gamg/gamg.c ## Implementations PCGAMGSetThresholdScale_GAMG in src/ksp/pc/impls/gamg/gamg.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/impls/gamg/gamg.c) [Index of all PC routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)