PETSC_DETERMINE#

standard way of passing in integer or floating point parameter where you wish PETSc to compute the required value.

Developer Note#

I would like to use const PetscInt PETSC_DETERMINE = PETSC_DECIDE; but for some reason this is not allowed by the standard even though PETSC_DECIDE is a constant value.

See Also#

PETSC_DECIDE, PETSC_DEFAULT, PETSC_IGNORE, VecSetSizes()

Level#

beginner

Location#

include/petscsys.h

Examples#

src/dm/field/tutorials/ex1.c
src/dm/impls/forest/tutorials/ex1.c
src/dm/impls/plex/tutorials/ex6.c
src/dm/impls/plex/tutorials/ex8.c
src/dm/impls/plex/tutorials/ex9.c
src/dm/impls/swarm/tutorials/ex1f90.F90
src/ksp/ksp/tutorials/ex76.c
src/ksp/ksp/tutorials/ex79.c
src/mat/tutorials/ex4.c
src/mat/tutorials/ex4f.F90
src/snes/tutorials/ex22.c


Edit on GitLab

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