PetscEnum#

datatype used to pass enum types within PETSc functions.

See Also#

PetscOptionsGetEnum(), PetscOptionsEnum(), PetscBagRegisterEnum()

Level#

intermediate

Location#

include/petscsystypes.h

Examples#

src/dm/impls/plex/tutorials/ex13.c
src/dm/impls/plex/tutorials/ex5.c
src/dm/tutorials/ex22.c
src/ksp/ksp/tutorials/ex10.c
src/ksp/ksp/tutorials/ex74.c
src/snes/tutorials/ex15.c
src/snes/tutorials/ex24.c
src/snes/tutorials/ex48.c
src/sys/tutorials/ex5.c
src/tao/tutorials/ex4.c
src/ts/tutorials/ex10.c


Edit on GitLab

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