# PCHYPREGetType
Gets which hypre preconditioner you are using 
## Synopsis
```
#include "petscpc.h" 
PetscErrorCode PCHYPREGetType(PC pc, const char *name[])
```

## Input Parameter

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



## Output Parameter

- ***name -*** either  euclid, pilut, parasails, boomeramg, ams, ads





## See Also
 `PCCreate()`, `PCHYPRESetType()`, `PCType`, `PC`, `PCHYPRE`

## Level
intermediate

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

## Implementations

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


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/impls/hypre/hypre.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)  
