PetscOptionsLeftError — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# PetscOptionsLeftError

Prints a warning listing any options in the default database that were never used

## Synopsis

    #include "petscsys.h"
    PetscErrorCode PetscOptionsLeftError(void)

Not Collective

## Note

This is intended for use inside PETSc error handlers. Unused options may indicate a program that crashed before it read them, a spelling mistake, or an option intended for a different context.

## See Also

`PetscOptionsLeft()`, `PetscOptionsAllUsed()`, `PetscOptionsView()`

## Level

developer

## Location

src/sys/objects/options.c

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