PetscOptionItem — PETSc 3.25.2 documentation

Skip to main content
`Ctrl`+`K`

# PetscOptionItem

Internal record describing a single option (such as `-ksp_type`) inside a `PetscOptionsBegin()` / `PetscOptionsEnd()` block, holding its option name, help text, default value, and selected value

## Synopsis

    typedef struct _n_PetscOptionItem *PetscOptionItem;

## See Also

`PetscOptions`, `PetscOptionItems`, `PetscOptionsBegin()`, `PetscOptionsEnd()`, `PetscOptionsInt()`, `PetscOptionsBool()`

## Level

developer

## Location

include/petscoptions.h

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