# PCGAMGClassicalGetType
Gets the type of classical interpolation to use with `PCGAMG` 
## Synopsis
```
#include "petscpc.h" 
PetscErrorCode PCGAMGClassicalGetType(PC pc, PCGAMGClassicalType *type)
```
Collective on pc


## Input Parameter

- ***pc -*** the preconditioner context



## Output Parameter

- ***type -*** the type used





## See Also
 `PCGAMG`

## Level
intermediate

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

## Implementations

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


---
[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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
