Lines Matching refs:alloc_icol
10 retval.icols[k] = &retval.alloc_icol[*n_alloc_used]; in spbas_cholesky_row_alloc()
50 PetscInt *alloc_icol_old = result->alloc_icol; in spbas_cholesky_garbage_collect()
112 … PetscCall(PetscIntCast(result->icols[i] - result->alloc_icol + result->row_nnz[i], n_alloc_used)); in spbas_cholesky_garbage_collect()
116 PetscCall(PetscIntCast(result->icols[i] - result->alloc_icol, &i_here)); in spbas_cholesky_garbage_collect()
135 … PetscCall(PetscIntCast(result->icols[i] - result->alloc_icol + result->row_nnz[i], n_alloc_used)); in spbas_cholesky_garbage_collect()
139 PetscCall(PetscIntCast(result->icols[i] - result->alloc_icol, &i_here)); in spbas_cholesky_garbage_collect()
162 PetscCall(PetscMalloc1(n_alloc, &result->alloc_icol)); in spbas_cholesky_garbage_collect()
163 PetscCall(PetscArraycpy(result->alloc_icol, alloc_icol_old, n_copy)); in spbas_cholesky_garbage_collect()
168 result->icols[i] = result->alloc_icol + (result->icols[i] - alloc_icol_old); in spbas_cholesky_garbage_collect()
169 result->values[i] = result->alloc_val + (result->icols[i] - result->alloc_icol); in spbas_cholesky_garbage_collect()
181 …0; i < nrows; i++) result->values[i] = result->alloc_val + (result->icols[i] - result->alloc_icol); in spbas_cholesky_garbage_collect()
194 … PetscCall(PetscIntCast(result->icols[i] - result->alloc_icol + result->row_nnz[i], n_alloc_used)); in spbas_cholesky_garbage_collect()
198 PetscCall(PetscIntCast(result->icols[i] - result->alloc_icol, &i_here)); in spbas_cholesky_garbage_collect()
201 result->icols[i] = result->alloc_icol + *n_alloc_used; in spbas_cholesky_garbage_collect()
212 result->icols[i][j] = result->alloc_icol[i_here + j]; in spbas_cholesky_garbage_collect()