PETSC_DEFAULT#

deprecated, see PETSC_CURRENT and PETSC_DETERMINE

Note#

The name is confusing since it tells the object to continue to use the value it is using, not the default value when the object’s type was set.

Developer Note#

Unfortunately this was used for two different purposes in the past, to actually trigger the use of a default value or to continue the use of currently set value (in, for example, KSPSetTolerances().

See Also#

PETSC_DECIDE, PETSC_IGNORE, PETSC_DETERMINE, PETSC_CURRENT, `PETSC_UNLIMITED’

Level#

beginner

Location#

include/petscsys.h

Examples#

src/dm/field/tutorials/ex1.c
src/snes/tutorials/ex69.c
src/snes/tutorials/ex3.c
src/snes/tutorials/ex70.c
src/tao/tutorials/ex4.c
src/tao/constrained/tutorials/tomographyADMM.c
src/vec/vec/tutorials/ex42a.c
src/tao/pde_constrained/tutorials/parabolic.c
src/snes/tutorials/ex1.c


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