Skip to main content
`Ctrl`+`K`

# PETSC_UNLIMITED

standard way of passing an integer or floating point parameter to indicate PETSc there is no bound on the value allowed

## Example Usage

       KSPSetTolerances(ksp, PETSC_CURRENT, PETSC_CURRENT, PETSC_UNLIMITED, PETSC_UNLIMITED);

indicates that the solver is allowed to take any number of iterations and will not stop early no matter how the residual gets.

## Fortran Note

Use `PETSC_UNLIMITED_INTEGER` or `PETSC_UNLIMITED_REAL`.

## See Also

`PETSC_DEFAULT`, `PETSC_IGNORE`, `PETSC_DETERMINE`, `PETSC_DECIDE`

## Level

beginner

## Location

include/petscsys.h

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