Searched refs:alloc_icol (Results 1 – 3 of 3) sorted by relevance
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()[all …]
60 PetscInt *alloc_icol; member
108 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()