Lines Matching full:array
12 Wrapper function for allocating contiguous memory in a 2d array
15 m,n - number of rows and columns of array, respectively
18 A - pointer to array for which memory is allocated
34 A - array to free memory of
47 Shift indices in an array of type T to endow it with ghost points.
51 da - distributed array upon which variables are defined
52 cgs - contiguously allocated 1-array with as many entries as there are
56 array - contiguously allocated array of the appropriate dimension with
57 ghost points, pointing to the 1-array
60 PetscErrorCode GiveGhostPoints(DM da, T *cgs, void *array) in GiveGhostPoints() argument
67 PetscCall(GiveGhostPoints1d(da, (T **)array)); in GiveGhostPoints()
69 PetscCall(GiveGhostPoints2d(da, cgs, (T ***)array)); in GiveGhostPoints()
75 Shift indices in a 1-array of type T to endow it with ghost points.
79 da - distributed array upon which variables are defined
82 a1d - contiguously allocated 1-array
96 Shift indices in a 2-array of type T to endow it with ghost points.
100 da - distributed array upon which variables are defined
101 cgs - contiguously allocated 1-array with as many entries as there are
105 a2d - contiguously allocated 2-array with ghost points, pointing to the
106 1-array
121 Create a rectangular sub-identity of the m x m identity matrix, as an array.
141 Create an identity matrix, as an array.
145 I - n x n array with memory pre-allocated