PetscEnum — PETSc 3.21.4 documentation

Skip to main content
`Ctrl`+`K`

# PetscEnum

datatype used to pass enum types within PETSc functions.

## See Also

`PetscOptionsGetEnum()`, `PetscOptionsEnum()`, `PetscBagRegisterEnum()`

## Level

intermediate

## Location

include/petscsystypes.h

## Examples

src/sys/tutorials/ex9f.F90
src/sys/tutorials/ex8f90.F90
src/sys/tutorials/ex5f90.F90

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