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/vec/vec/tutorials/ex42a.c.html
src/dm/field/tutorials/ex1.c.html
src/ksp/pc/tutorials/ex3.c.html
src/ksp/ksp/tutorials/ex15.c.html
src/ksp/ksp/tutorials/ex18.c.html
src/ksp/ksp/tutorials/ex1.c.html
src/ksp/ksp/tutorials/ex23.c.html
src/ksp/ksp/tutorials/ex27.c.html
src/ksp/ksp/tutorials/ex2.c.html
src/ksp/ksp/tutorials/ex4.c.html
src/ksp/ksp/tutorials/ex62.c.html


Edit on GitLab

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