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/snes/tutorials/ex69.c
src/sys/tutorials/ex7.c
src/ts/tutorials/ex76.c
src/ts/tutorials/ex77.c
src/vec/vec/tutorials/ex42a.c
src/dm/field/tutorials/ex1.c
src/snes/tutorials/ex27.c
src/ts/tutorials/ex46.c
src/ts/tutorials/ex18.c
src/snes/tutorials/ex77.c


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