petsc-3.5.2 2014-09-08
Report Typos and Errors

PetscCheckPointerSetIntensity

An intense pointer check registers a signal handler and attempts to dereference to confirm whether the address is valid. An intensity of 0 never uses signal handlers, 1 uses them when not in a "hot" function, and intensity of 2 always uses a signal handler.

Synopsis

PetscErrorCode PetscCheckPointerSetIntensity(PetscInt intensity)
Not Collective

Input Arguments

intensity -how much to check pointers for validity

See Also

PetscCheckPointer(), PetscFunctionBeginHot

Level:advanced
Location:
src/sys/error/checkptr.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages