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/dm/tutorials/ex51.c
src/dm/tutorials/ex2.c
src/dm/tutorials/ex12.c
src/dm/tutorials/ex15.c
src/dm/tutorials/swarm_ex3.c
src/dm/tutorials/swarm_ex1.c
src/dm/tutorials/ex20.c
src/dm/tutorials/ex5.c
src/dm/tutorials/ex6.c
src/dm/tutorials/ex7.c


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