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/dm/field/tutorials/ex1.c
src/ksp/ksp/tutorials/ex1.c
src/ksp/ksp/tutorials/ex15.c
src/ksp/ksp/tutorials/ex18.c
src/ksp/ksp/tutorials/ex2.c
src/ksp/ksp/tutorials/ex23.c
src/ksp/ksp/tutorials/ex27.c
src/ksp/ksp/tutorials/ex4.c
src/ksp/ksp/tutorials/ex6.c
src/ksp/ksp/tutorials/ex62.c
src/ksp/ksp/tutorials/ex7.c


Edit on GitLab

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