Home
last modified time | relevance | path

Searched refs:CHUNKSIZE (Results 1 – 2 of 2) sorted by relevance

/petsc/src/mat/impls/aij/seq/
H A Daij.h240 PetscInt CHUNKSIZE = 15, new_nz = AI[AM] + CHUNKSIZE, len, *new_i = NULL, *new_j = NULL; \
252 for (ii = ROW + 1; ii < AM + 1; ii++) new_i[ii] = AI[ii] + CHUNKSIZE; \
254 len = (new_nz - CHUNKSIZE - AI[ROW] - NROW); \
255 …PetscCall(PetscArraycpy(new_j + AI[ROW] + NROW + CHUNKSIZE, PetscSafePointerPlusOffset(AJ, AI[ROW]…
257 PetscCall(PetscArrayzero(new_a + BS2 * (AI[ROW] + NROW), BS2 * CHUNKSIZE)); \
258 …PetscCall(PetscArraycpy(new_a + BS2 * (AI[ROW] + NROW + CHUNKSIZE), PetscSafePointerPlusOffset(AA,…
268 RMAX = AIMAX[ROW] = AIMAX[ROW] + CHUNKSIZE; \
269 Ain->maxnz += BS2 * CHUNKSIZE; \
280 PetscInt CHUNKSIZE = 15, new_nz = AI[AM] + CHUNKSIZE, len, *new_i = NULL, *new_j = NULL; \
291 for (ii = ROW + 1; ii < AM + 1; ii++) new_i[ii] = AI[ii] + CHUNKSIZE; \
[all …]
/petsc/src/sys/classes/draw/utils/
H A Dhists.c30 #define CHUNKSIZE 100 macro
81 h->maxValues = CHUNKSIZE; in PetscDrawHGCreate()
198 PetscCall(PetscMalloc2(hist->maxValues + CHUNKSIZE, &tmp, hist->maxValues + CHUNKSIZE, &tmpw)); in PetscDrawHGAddValue()
205 hist->maxValues += CHUNKSIZE; in PetscDrawHGAddValue()
266 PetscCall(PetscMalloc2(hist->maxValues + CHUNKSIZE, &tmp, hist->maxValues + CHUNKSIZE, &tmpw)); in PetscDrawHGAddWeightedValue()
273 hist->maxValues += CHUNKSIZE; in PetscDrawHGAddWeightedValue()