petsc-3.6.1 2015-08-06
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/ts/examples/tutorials/ex20.c.html