Skip to main content
Ctrl+K
PETSc 3.22.2 documentation - Home
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • PCMGCycleType

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#

Preconditioners, PCMG, PC, PCMGSetCycleType()

Level#

beginner

Location#

include/petscpctypes.h

Examples#

src/ksp/ksp/tutorials/ex35.cxx
src/ksp/ksp/tutorials/ex36.cxx


Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages

On this page
  • Synopsis
  • Values
  • See Also
  • Level
  • Location
  • Examples
Edit on GitLab
Show Source

© Copyright 1991-2024, UChicago Argonne, LLC and the PETSc Development Team.

Created using Sphinx 7.3.7.

Built with the PyData Sphinx Theme 0.15.1.

Last updated on 2024-11-28T23:40:01-0600 (v3.22.2).