petsc-3.10.5 2019-03-28
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/examples/tutorials/ex1.c.html
src/vec/is/sf/examples/tutorials/ex2.c.html
src/mat/examples/tutorials/ex4.c.html
src/dm/field/examples/tutorials/ex1.c.html
src/ksp/ksp/examples/tutorials/ex6.c.html
src/snes/examples/tutorials/ex22.c.html
src/snes/examples/tutorials/ex30.c.html
src/snes/examples/tutorials/ex48.c.html
src/ts/examples/tutorials/ex8.c.html
src/ts/examples/tutorials/ex11.c.html
src/ts/examples/tutorials/ex14.c.html

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