PETSC_DECIDE#

standard way of passing an integer or floating point parameter to indicate PETSc should determine an appropriate value

Example Usage#

indicates that the global size of the vector is 10 and the local size will be automatically determined so that the sum of the local sizes is the global size, see PetscSplitOwnership().

Fortran Note#

Use PETSC_DECIDE_INTEGER or PETSC_DECIDE_REAL.

See Also#

PETSC_DEFAULT, PETSC_IGNORE, PETSC_DETERMINE, `PETSC_UNLIMITED’

Level#

beginner

Location#

include/petscsys.h

Examples#

src/mat/tutorials/ex17.c
src/mat/tutorials/ex16.c
src/mat/tutorials/ex3.c
src/mat/tutorials/ex15f.F90
src/mat/tutorials/ex9.c
src/mat/tutorials/ex15.c
src/mat/tutorials/ex19.c


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