:orphan:
# PCGAMGSetEigenvalues
Set WHAT eigenvalues WHY? 
## Synopsis
```
#include "petscpc.h" 
#include "petscksp.h" 
PetscErrorCode PCGAMGSetEigenvalues(PC pc, PetscReal emax, PetscReal emin)
```
Collective


## Input Parameters

- ***pc -*** the preconditioner context
- ***emax -*** max eigenvalue


- ***emin -*** min eigenvalue



## Options Database Key

- ***-pc_gamg_eigenvalues <emin,emax> -*** estimates of the eigenvalues





## See Also
 `PCGAMG`, `PCGAMGSetUseSAEstEig()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/pc/impls/gamg/gamg.c.html#PCGAMGSetEigenvalues">src/ksp/pc/impls/gamg/gamg.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/pc/impls/gamg/gamg.c.html#PCGAMGSetEigenvalues_GAMG">PCGAMGSetEigenvalues_GAMG in src/ksp/pc/impls/gamg/gamg.c</A><BR>


---
[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)  
