petsc-3.9.4 2018-09-11
Report Typos and Errors

PetscCheckPointer

Returns PETSC_TRUE if a pointer points to accessible data

Synopsis

PetscBool PetscCheckPointer(const void *ptr,PetscDataType dtype)
Not Collective

Input Parameters

ptr - the pointer
dtype - the type of data the pointer is suppose to point to

See Also

PetscCheckPointerSetIntensity()

Level

developer

Location

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