Home
last modified time | relevance | path

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

/petsc/src/mat/impls/aij/seq/bas/
H A Dspbas_cholesky.h54 PetscInt n_rescue; in spbas_cholesky_garbage_collect() local
107 n_rescue = 0; in spbas_cholesky_garbage_collect()
119 if (*n_alloc_used > i_here || i_last > n_alloc) n_rescue += result->row_nnz[i]; in spbas_cholesky_garbage_collect()
127 PetscCall(PetscMalloc1(n_rescue, &icol_rescue)); in spbas_cholesky_garbage_collect()
128 PetscCall(PetscMalloc1(n_rescue, &val_rescue)); in spbas_cholesky_garbage_collect()
131 n_rescue = 0; in spbas_cholesky_garbage_collect()
143 PetscCall(PetscArraycpy(&icol_rescue[n_rescue], result->icols[i], result->row_nnz[i])); in spbas_cholesky_garbage_collect()
144 PetscCall(PetscArraycpy(&val_rescue[n_rescue], result->values[i], result->row_nnz[i])); in spbas_cholesky_garbage_collect()
145 n_rescue += result->row_nnz[i]; in spbas_cholesky_garbage_collect()
189 n_rescue = 0; in spbas_cholesky_garbage_collect()
[all …]