petsc-3.7.1 2016-05-15
PetscNewLog
Allocates memory of a type matching pointer, zeros the memory! Aligned to PETSC_MEMALIGN. Associates the memory allocated with the given object using PetscLogObjectMemory().
Synopsis
#include <petscsys.h>
PetscErrorCode PetscNewLog(PetscObject obj,type **result)
Not Collective Many br
Input Parameter
obj -object memory is logged to Many br
Output Parameter
result -memory allocated, sized to match pointer type Many br
Many br
See Also
PetscFree(), PetscMalloc(), PetscNew(), PetscLogObjectMemory()
Level:developer
Location:include/petscsys.h
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages