# PCMGSetDistinctSmoothUp
sets the up (post) smoother to be a separate `KSP` from the down (pre) smoother on all levels and adds the suffix _up to the options name 
## Synopsis
```
#include "petscksp.h" 
PetscErrorCode PCMGSetDistinctSmoothUp(PC pc)
```
Logically Collective


## Input Parameter

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



## Options Database Key

- ***-pc_mg_distinct_smoothup <bool> -*** use distinct smoothing objects





## Note
This does not set a value on the coarsest grid, since we assume that there is no separate smooth up on the coarsest grid.


## See Also
 `PCMG`, `PCMGSetNumberSmooth()`

## Level
advanced

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


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