:orphan: # PCMGCycleType Use V-cycle or W-cycle ## Synopsis ``` typedef enum { PC_MG_CYCLE_V = 1, PC_MG_CYCLE_W = 2 } PCMGCycleType; ``` ## Values - ***`PC_MG_V_CYCLE` -*** use the v cycle - ***`PC_MG_W_CYCLE` -*** use the w cycle ## See Also [](sec_pc), `PCMG`, `PC`, `PCMGSetCycleType()` ## Level beginner ## Location include/petscpctypes.h ## Examples src/ksp/ksp/tutorials/ex35.cxx
src/ksp/ksp/tutorials/ex36.cxx
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscpctypes.h) [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)