# PassiveScalar

PETSc type that represents a PetscScalar This is the same as a PetscScalar except in code that is automatically differentiated it is treated as a constant (not an indendent or dependent variable)

### See Also

PetscReal, PassiveReal, PetscScalar

Level:beginner
Location:include/petsc.h
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages

### Examples

src/snes/examples/tutorials/ex24.c.html