petsc-3.14.6 2021-03-30
Report Typos and Errors

PCGAMGSetThresholdScale

Relative threshold reduction at each level

Synopsis

#include "petscpc.h" 
#include "petscksp.h" 
PetscErrorCode PCGAMGSetThresholdScale(PC pc, PetscReal v)
Not collective on PC

Input Parameters

pc - the preconditioner context
scale - the threshold value reduction, ussually < 1.0

Options Database Key

-pc_gamg_threshold_scale <v>

Notes

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

PCGAMGSetThreshold()

Level

advanced

Location

src/ksp/pc/impls/gamg/gamg.c

Implementations

PCGAMGSetThresholdScale_GAMG in src/ksp/pc/impls/gamg/gamg.c

Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages