Skip to main content
Ctrl+K
Logo image Logo image

Site Navigation

  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.

Site Navigation

  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.

PCSetFailedReason#

Sets the reason a PCSetUp() failed or PC_NOERROR if it did not fail

Synopsis#

#include "petscksp.h" 
PetscErrorCode PCSetFailedReason(PC pc, PCFailedReason reason)

Logically Collective

Input Parameters#

  • pc - the preconditioner context

  • reason - the reason it failedx

See Also#

PC, PCCreate(), PCApply(), PCDestroy(), PCFailedReason

Level#

advanced

Location#

src/ksp/pc/interface/precon.c


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

On this page
  • Synopsis
  • Input Parameters
  • See Also
  • Level
  • Location
Edit this page

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

Created using Sphinx 5.3.0.

Last updated on 2023-11-30T13:19:16-0600 (v3.20.2).