:orphan: # 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 -*** 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 src/ksp/pc/impls/mg/mg.c --- [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](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)