# PCHMGSetReuseInterpolation
Reuse the interpolation matrices in `PCHMG` after changing the matrices numerical values 
## Synopsis
```
#include "petscpc.h" 
PetscErrorCode PCHMGSetReuseInterpolation(PC pc, PetscBool reuse)
```
Logically Collective


## Input Parameters

- ***pc -*** the `PCHMG` context
- ***reuse -*** `PETSC_TRUE` indicates that `PCHMG` will reuse the interpolations



## Options Database Key

- ***-pc_hmg_reuse_interpolation <true | false> -*** Whether or not to reuse the interpolations. If true, it potentially save the compute time.





## See Also
 `PCHMG`, `PCGAMG`, `PCHMGSetUseSubspaceCoarsening()`, `PCHMGSetCoarseningComponent()`, `PCHMGSetInnerPCType()`

## Level
beginner

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

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/tutorials/ex4.c.html">src/ksp/ksp/tutorials/ex4.c.html</A><BR>

## Implementations

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


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