PETSC_DEFAULT#

standard way of passing in integer or floating point parameter where you wish PETSc to use the default.

Fortran Note#

You need to use PETSC_DEFAULT_INTEGER or PETSC_DEFAULT_REAL.

See Also#

PETSC_DECIDE, PETSC_IGNORE, PETSC_DETERMINE

Level#

beginner

Location#

include/petscsys.h

Examples#

src/tao/unconstrained/tutorials/burgers_spectral.c
src/tao/pde_constrained/tutorials/elliptic.c
src/tao/unconstrained/tutorials/spectraladjointassimilation.c
src/tao/tutorials/ex4.c
src/tao/constrained/tutorials/tomographyADMM.c
src/tao/pde_constrained/tutorials/parabolic.c
src/tao/unconstrained/tutorials/minsurf1.c


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