PETSC_CURRENT — PETSc 3.25.0 documentation

Skip to main content
`Ctrl`+`K`

# PETSC_CURRENT

standard way of indicating to an object not to change the current value of the parameter in the object

## Note

Use `PETSC_DECIDE` to use the value that was set by PETSc when the object’s type was set

## Fortran Note

Use `PETSC_CURRENT_INTEGER` or `PETSC_CURRENT_REAL`.

## See Also

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

## Level

beginner

## Location

include/petscsys.h

## Examples

src/ksp/ksp/tutorials/ex1.c
src/ksp/ksp/tutorials/ex8.c
src/ksp/ksp/tutorials/ex18.c
src/ksp/ksp/tutorials/ex23.c
src/ksp/ksp/tutorials/ex71.c
src/ksp/ksp/tutorials/ex15.c

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