petsc-3.7.7 2017-09-25
Report Typos and Errors

PETSC_NULL

standard way of passing in a null or array or pointer. This is deprecated in C/C++ simply use NULL

Notes: accepted by many PETSc functions to not set a parameter and instead use some default

This macro does not exist in Fortran; you must use PETSC_NULL_INTEGER, PETSC_NULL_DOUBLE_PRECISION, PETSC_NULL_FUNCTION, PETSC_NULL_OBJECT etc

See Also

PETSC_DECIDE, PETSC_DEFAULT, PETSC_IGNORE, PETSC_DETERMINE

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

Examples

src/sys/examples/tutorials/ex9.c.html
src/ksp/ksp/examples/tutorials/ex49.c.html
src/ts/examples/tutorials/ex20.c.html