Lines Matching refs:cnzi
677 PetscInt i, j, k, dof, pshift, ptnzi, arow, anzj, ptanzi, prow, pnzj, cnzi, cn; in MatPtAPSymbolic_SeqAIJ_SeqMAIJ() local
724 cnzi = 0; in MatPtAPSymbolic_SeqAIJ_SeqMAIJ()
738 sparserow[cnzi++] = pjj[k] * ppdof + pshift; in MatPtAPSymbolic_SeqAIJ_SeqMAIJ()
744 PetscCall(PetscSortInt(cnzi, sparserow)); in MatPtAPSymbolic_SeqAIJ_SeqMAIJ()
748 …if (current_space->local_remaining < cnzi) PetscCall(PetscFreeSpaceGet(PetscIntSumTruncate(cnzi, c… in MatPtAPSymbolic_SeqAIJ_SeqMAIJ()
751 PetscCall(PetscArraycpy(current_space->array, sparserow, cnzi)); in MatPtAPSymbolic_SeqAIJ_SeqMAIJ()
753 current_space->array += cnzi; in MatPtAPSymbolic_SeqAIJ_SeqMAIJ()
754 current_space->local_used += cnzi; in MatPtAPSymbolic_SeqAIJ_SeqMAIJ()
755 current_space->local_remaining -= cnzi; in MatPtAPSymbolic_SeqAIJ_SeqMAIJ()
758 for (j = 0; j < cnzi; j++) denserow[sparserow[j]] = 0; in MatPtAPSymbolic_SeqAIJ_SeqMAIJ()
762 ci[i * ppdof + 1 + dof] = ci[i * ppdof + dof] + cnzi; in MatPtAPSymbolic_SeqAIJ_SeqMAIJ()