Skip to main content
Ctrl+K
PETSc 3.23.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
  • KSPHPDDMType

KSPHPDDMType#

Type of Krylov method used by KSPHPDDM

Synopsis#

typedef enum {
  KSP_HPDDM_TYPE_GMRES   = 0,
  KSP_HPDDM_TYPE_BGMRES  = 1,
  KSP_HPDDM_TYPE_CG      = 2,
  KSP_HPDDM_TYPE_BCG     = 3,
  KSP_HPDDM_TYPE_GCRODR  = 4,
  KSP_HPDDM_TYPE_BGCRODR = 5,
  KSP_HPDDM_TYPE_BFBCG   = 6,
  KSP_HPDDM_TYPE_PREONLY = 7
} KSPHPDDMType;

Values#

  • KSP_HPDDM_TYPE_GMRES (default) - Generalized Minimal Residual method

  • KSP_HPDDM_TYPE_BGMRES - block GMRES

  • KSP_HPDDM_TYPE_CG - Conjugate Gradient

  • KSP_HPDDM_TYPE_BCG - block CG

  • KSP_HPDDM_TYPE_GCRODR - Generalized Conjugate Residual method with inner Orthogonalization and Deflated Restarting

  • KSP_HPDDM_TYPE_BGCRODR - block GCRODR

  • KSP_HPDDM_TYPE_BFBCG - breakdown-free BCG

  • KSP_HPDDM_TYPE_PREONLY - apply the preconditioner only

See Also#

KSP: Linear System Solvers, KSPHPDDM, KSPHPDDMSetType()

Level#

intermediate

Location#

include/petscksp.h

Examples#

src/ksp/ksp/tutorials/ex76.c

Examples#

src/ksp/ksp/tutorials/ex78.c

Examples#

src/ksp/ksp/tutorials/ex76.c
src/ksp/ksp/tutorials/ex78.c

Examples#

src/ksp/ksp/tutorials/ex76.c

Examples#

src/ksp/ksp/tutorials/ex76.c

Examples#

src/ksp/ksp/tutorials/ex76.c
src/ksp/ksp/tutorials/ex78.c


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

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

© Copyright 1991-2025, 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 2025-05-24T04:19:09-0500 (v3.23.2-45-g435c8b4919a8).