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/snes/tutorials/ex56.c
src/ksp/ksp/tutorials/ex5.c
src/ksp/ksp/tutorials/ex70.c
src/snes/tutorials/ex77.c
src/snes/tutorials/ex7.c
src/snes/tutorials/ex69.c
src/ts/tutorials/ex53.c
src/vec/vec/tutorials/ex1f.F90
src/vec/vec/tutorials/ex1.c
src/snes/tutorials/ex13.c


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