Home
last modified time | relevance | path

Searched refs:alloc_icol (Results 1 – 3 of 3) sorted by relevance

/petsc/src/mat/impls/aij/seq/bas/
H A Dspbas_cholesky.h10 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()
[all …]
H A Dspbas.h60 PetscInt *alloc_icol; member
H A Dspbas.c108 PetscCall(PetscMalloc1(nnz, &result->alloc_icol)); in spbas_allocate_data()
110 result->icols[0] = result->alloc_icol; in spbas_allocate_data()
307 PetscCall(PetscMalloc1(B->n_alloc_icol, &B->alloc_icol)); in spbas_compress_pattern()
313 B->icols[i] = &B->alloc_icol[ptr]; in spbas_compress_pattern()
356 PetscCall(PetscFree(matrix.alloc_icol)); in spbas_delete()