petsc-3.6.2 2015-10-02
   
PetscCalloc1
Allocates a cleared (zeroed) array of memory aligned to PETSC_MEMALIGN 
Synopsis
#include 
PetscErrorCode PetscCalloc1(size_t m1,type **r1)
Not Collective
Input Parameter
m1  -number of elements to allocate in 1st chunk  (may be zero)
Output Parameter
r1  -memory allocated in first chunk
See Also
 PetscFree(), PetscNew(), PetscMalloc(), PetscMalloc1(), PetscCalloc2()
Level:developer
Location:include/petscsys.h
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages
Examples
src/ksp/ksp/examples/tutorials/ex10.c.html