:orphan:
# PCGAMGClassicalGetType
Gets the type of classical interpolation to use with `PCGAMG`
## Synopsis
```
#include "petscpc.h"
PetscErrorCode PCGAMGClassicalGetType(PC pc, PCGAMGClassicalType *type)
```
Collective
## Input Parameter
- ***pc -*** the preconditioner context
## Output Parameter
- ***type -*** the type used
## See Also
`PCGAMG`
## Level
intermediate
## Location
src/ksp/pc/impls/gamg/classical.c
## Implementations
PCGAMGClassicalGetType_GAMG in src/ksp/pc/impls/gamg/classical.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/impls/gamg/classical.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)