petsc-3.7.1 2016-05-15
Report Typos and Errors

PetscCalloc6

Allocates 6 cleared (zeroed) arrays of memory, all aligned to PETSC_MEMALIGN

Synopsis

#include <petscsys.h>
PetscErrorCode PetscCalloc6(size_t m1,type **r1,size_t m2,type **r2,size_t m3,type **r3,size_t m4,type **r4,size_t m5,type **r5,size_t m6,type **r6)
Not Collective Many br

Input Parameter

m1 - number of elements to allocate in 1st chunk (may be zero) Many br
m2 - number of elements to allocate in 2nd chunk (may be zero) Many br
m3 - number of elements to allocate in 3rd chunk (may be zero) Many br
m4 - number of elements to allocate in 4th chunk (may be zero) Many br
m5 - number of elements to allocate in 5th chunk (may be zero) Many br
m6 - number of elements to allocate in 6th chunk (may be zero) Many br

Output Parameter

r1 - memory allocated in first chunk Many br
r2 - memory allocated in second chunk Many br
r3 - memory allocated in third chunk Many br
r4 - memory allocated in fourth chunk Many br
r5 - memory allocated in fifth chunk Many br
r6 - memory allocated in sixth chunk Many br

Many br

See Also

PetscFree(), PetscNew(), PetscMalloc(), PetscMalloc2(), PetscMalloc6(), PetscFree6()


Location:include/petscsys.h
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages