Skip to main content
Ctrl+K
PETSc 3.23.1 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
  • PETSC_SMALL

PETSC_SMALL#

an arbitrary “small” number which depends on the precision of PetscReal used in some PETSc examples and in PetscApproximateLTE() and PetscApproximateGTE() to determine if a computation was successful.

Note#

See PETSC_MACHINE_EPSILON

See Also#

PetscApproximateLTE(), PetscApproximateGTE(), PETSC_MAX_REAL, PETSC_MIN_REAL, PETSC_REAL_MIN, PETSC_MACHINE_EPSILON, PETSC_SQRT_MACHINE_EPSILON

Level#

beginner

Location#

include/petscmath.h

Examples#

src/ksp/ksp/tutorials/ex5f.F90
src/snes/tutorials/ex69.c
src/snes/tutorials/ex56.c
src/snes/tutorials/ex13.c
src/ksp/ksp/tutorials/ex87.c
src/ksp/ksp/tutorials/ex5.c
src/ksp/ksp/tutorials/ex70.c
src/snes/tutorials/ex7.c
src/mat/tutorials/ex3.c
src/snes/tutorials/ex77.c


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

On this page
  • Note
  • See Also
  • Level
  • Location
  • 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-04-30T13:10:40-0500 (v3.23.1).