Lines Matching refs:Ai
4559 …PetscInt *Ai; /* Change to PetscCount once we use it for ro… in MatSetPreallocationCOO_SeqAIJ() local
4600 PetscCall(PetscShmgetAllocateArray(M + 1, sizeof(PetscInt), (void **)&Ai)); /* CSR of A */ in MatSetPreallocationCOO_SeqAIJ()
4601 PetscCall(PetscArrayzero(Ai, M + 1)); in MatSetPreallocationCOO_SeqAIJ()
4607 Ai++; /* Inc by 1 for convenience */ in MatSetPreallocationCOO_SeqAIJ()
4667 PetscCall(PetscIntCast(end - start, Ai + row)); in MatSetPreallocationCOO_SeqAIJ()
4668 nnz += Ai[row]; // q is already advanced in MatSetPreallocationCOO_SeqAIJ()
4673 Ai[row] = 1; in MatSetPreallocationCOO_SeqAIJ()
4681 Ai[row]++; in MatSetPreallocationCOO_SeqAIJ()
4691 Ai--; /* Back to the beginning of Ai[] */ in MatSetPreallocationCOO_SeqAIJ()
4692 for (k = 0; k < M; k++) Ai[k + 1] += Ai[k]; in MatSetPreallocationCOO_SeqAIJ()
4724 PetscCall(MatSetSeqAIJWithArrays_private(PETSC_COMM_SELF, M, N, Ai, Aj, Aa, rtype, mat)); in MatSetPreallocationCOO_SeqAIJ()