Lines Matching refs:sliceheight
47 PetscInt sliceheight; /* slice height */ \
134 if (*(cp + a->sliceheight * t) > col) high = t; \
138 if (*(cp + a->sliceheight * _i) > col) break; \
139 if (*(cp + a->sliceheight * _i) == col) { \
140 if (addv == ADD_VALUES) *(vp + a->sliceheight * _i) += value; \
141 else *(vp + a->sliceheight * _i) = value; \
148 …s) && a->rlen[row] >= (a->sliidx[row / a->sliceheight + 1] - a->sliidx[row / a->sliceheight]) / a-…
150 if (a->maxallocmat < a->sliidx[a->totalslices] + a->sliceheight) { \
152 PetscInt new_size = a->maxallocmat + a->sliceheight, *new_colidx; \
158 PetscCall(PetscArraycpy(new_val, a->val, a->sliidx[row / a->sliceheight + 1])); \
159 PetscCall(PetscArraycpy(new_colidx, a->colidx, a->sliidx[row / a->sliceheight + 1])); \
160 …sliceheight + 1] + a->sliceheight, PetscSafePointerPlusOffset(a->val, a->sliidx[row / a->sliceheig…
161 …sliceheight + 1] + a->sliceheight, PetscSafePointerPlusOffset(a->colidx, a->sliidx[row / a->sliceh…
163 cp = new_colidx + a->sliidx[row / a->sliceheight] + (row % a->sliceheight); \
164 vp = new_val + a->sliidx[row / a->sliceheight] + (row % a->sliceheight); \
174 …w / a->sliceheight + 1] + a->sliceheight, a->val + a->sliidx[row / a->sliceheight + 1], a->sliidx[…
175 …/ a->sliceheight + 1] + a->sliceheight, a->colidx + a->sliidx[row / a->sliceheight + 1], a->sliidx…
178 … for (ii = row / a->sliceheight + 1; ii <= a->totalslices; ii++) a->sliidx[ii] += a->sliceheight; \
184 *(cp + a->sliceheight * (ii + 1)) = *(cp + a->sliceheight * ii); \
185 *(vp + a->sliceheight * (ii + 1)) = *(vp + a->sliceheight * ii); \
187 *(cp + a->sliceheight * _i) = col; \
188 *(vp + a->sliceheight * _i) = value; \