petsc-3.13.6 2020-09-29
Report Typos and Errors

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/vec/vec/utils/tagger/tutorials/ex1.c.html
src/vec/is/sf/tutorials/ex2.c.html
src/mat/tutorials/ex4.c.html
src/mat/tutorials/ex4f.F90.html
src/dm/impls/plex/tutorials/ex6.c.html
src/dm/impls/plex/tutorials/ex8.c.html
src/dm/impls/plex/tutorials/ex9.c.html
src/dm/impls/forest/tutorials/ex1.c.html
src/dm/field/tutorials/ex1.c.html
src/snes/tutorials/ex22.c.html
src/snes/tutorials/ex30.c.html

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