| /petsc/src/mat/impls/aij/mpi/crl/ |
| H A D | mcrl.c | 43 PetscInt i, j, rmax = 0, *icols, *ailen = Aij->ilen, *bilen = Bij->ilen; in MatMPIAIJCRL_create_aijcrl() local 48 for (i = 0; i < m; i++) rmax = PetscMax(rmax, ailen[i] + bilen[i]); in MatMPIAIJCRL_create_aijcrl() 58 for (j = 0; j < ailen[i]; j++) { in MatMPIAIJCRL_create_aijcrl() 62 for (; j < ailen[i] + bilen[i]; j++) { in MatMPIAIJCRL_create_aijcrl()
|
| /petsc/src/mat/impls/blockmat/seq/ |
| H A D | blockmat.c | 218 PetscInt *ai = a->i, *ailen = a->ilen; in MatSetValues_BlockMat() local 233 nrow = ailen[brow]; in MatSetValues_BlockMat() 279 ailen[brow] = nrow; in MatSetValues_BlockMat() 542 PetscInt *j_new, *i_new, *aj = a->j, *ailen = a->ilen; in MatCreateSubMatrix_BlockMat() local 570 PetscCall(MatSeqAIJSetPreallocation(C, 0, ailen)); in MatCreateSubMatrix_BlockMat() 571 PetscCall(MatSeqSBAIJSetPreallocation(C, 1, 0, ailen)); in MatCreateSubMatrix_BlockMat() 581 lensi = ailen[i]; in MatCreateSubMatrix_BlockMat() 600 PetscInt m = a->mbs, *ip, N, *ailen = a->ilen, rmax = 0; in MatAssemblyEnd_BlockMat() local 606 if (m) rmax = ailen[0]; /* determine row with most nonzeros */ in MatAssemblyEnd_BlockMat() 609 fshift += imax[i - 1] - ailen[i - 1]; in MatAssemblyEnd_BlockMat() [all …]
|
| /petsc/src/mat/impls/sbaij/seq/ |
| H A D | sbaij.c | 514 PetscInt *ai = a->i, *ailen = a->ilen; in MatGetValues_SeqSBAIJ() local 529 nrow = ailen[brow]; in MatGetValues_SeqSBAIJ() 579 PetscInt *imax = a->imax, *ai = a->i, *ailen = a->ilen; in MatSetValuesBlocked_SeqSBAIJ() local 595 nrow = ailen[row]; in MatSetValuesBlocked_SeqSBAIJ() 669 ailen[row] = nrow; in MatSetValuesBlocked_SeqSBAIJ() 678 PetscInt m = A->rmap->N, *ip, N, *ailen = a->ilen; in MatAssemblyEnd_SeqSBAIJ() local 685 if (m) rmax = ailen[0]; in MatAssemblyEnd_SeqSBAIJ() 688 fshift += imax[i - 1] - ailen[i - 1]; in MatAssemblyEnd_SeqSBAIJ() 689 rmax = PetscMax(rmax, ailen[i]); in MatAssemblyEnd_SeqSBAIJ() 693 N = ailen[i]; in MatAssemblyEnd_SeqSBAIJ() [all …]
|
| /petsc/src/mat/impls/baij/seq/ |
| H A D | baij.c | 1293 PetscInt *ai = a->i, *ailen = a->ilen; in matsetvaluesblocked4_() local 1305 nrow = ailen[row]; in matsetvaluesblocked4_() 1345 ailen[row] = nrow; in matsetvaluesblocked4_() 1361 PetscInt *ai = a->i, *ailen = a->ilen; in matsetvalues4_() local 1372 nrow = ailen[brow]; in matsetvalues4_() 1408 ailen[brow] = nrow; in matsetvalues4_() 2058 PetscInt *ai = a->i, *ailen = a->ilen; in MatGetValues_SeqBAIJ() local 2073 nrow = ailen[brow]; in MatGetValues_SeqBAIJ() 2109 PetscInt *imax = a->imax, *ai = a->i, *ailen = a->ilen; in MatSetValuesBlocked_SeqBAIJ() local 2128 nrow = ailen[row]; in MatSetValuesBlocked_SeqBAIJ() [all …]
|
| /petsc/src/mat/impls/aij/seq/ |
| H A D | aij.c | 365 const PetscInt *rp, *ai = a->i, *ailen = a->ilen, *aj = a->j; in MatSeqAIJSetValuesLocalFast() local 375 nrow = ailen[row]; in MatSeqAIJSetValuesLocalFast() 406 PetscInt *imax = a->imax, *ai = a->i, *ailen = a->ilen; in MatSetValues_SeqAIJ() local 421 nrow = ailen[row]; in MatSetValues_SeqAIJ() 473 ailen[row] = nrow; in MatSetValues_SeqAIJ() 566 PetscInt *ai = a->i, *ailen = a->ilen; in MatSetValues_SeqAIJ_SortedFull() local 586 ailen[row] = n; in MatSetValues_SeqAIJ_SortedFull() 597 PetscInt *ai = a->i, *ailen = a->ilen; in MatGetValues_SeqAIJ() local 611 nrow = ailen[row]; in MatGetValues_SeqAIJ() 1101 PetscInt m = A->rmap->n, *ip, N, *ailen = a->ilen, rmax = 0; in MatAssemblyEnd_SeqAIJ() local [all …]
|
| /petsc/src/mat/impls/sbaij/mpi/ |
| H A D | mpisbaij.c | 207 nrow = ailen[brow]; \ 238 ailen[brow] = nrow; \ 297 PetscInt *aimax = a->imax, *ai = a->i, *ailen = a->ilen, *aj = a->j; in MatSetValues_MPISBAIJ() local 404 PetscInt *imax = a->imax, *ai = a->i, *ailen = a->ilen; in MatSetValuesBlocked_SeqSBAIJ_Inlined() local 418 nrow = ailen[row]; in MatSetValuesBlocked_SeqSBAIJ_Inlined() 476 ailen[row] = nrow; in MatSetValuesBlocked_SeqSBAIJ_Inlined() 487 PetscInt *imax = a->imax, *ai = a->i, *ailen = a->ilen; in MatSetValuesBlocked_SeqBAIJ_Inlined() local 497 nrow = ailen[row]; in MatSetValuesBlocked_SeqBAIJ_Inlined() 556 ailen[row] = nrow; in MatSetValuesBlocked_SeqBAIJ_Inlined()
|
| /petsc/src/mat/impls/baij/mpi/ |
| H A D | mpibaij.c | 166 nrow = ailen[brow]; \ 197 ailen[brow] = nrow; \ 253 PetscInt *aimax = a->imax, *ai = a->i, *ailen = a->ilen, *aj = a->j; in MatSetValues_MPIBAIJ() local 330 PetscInt *imax = a->imax, *ai = a->i, *ailen = a->ilen; in MatSetValuesBlocked_SeqBAIJ_Inlined() local 340 nrow = ailen[row]; in MatSetValuesBlocked_SeqBAIJ_Inlined() 399 ailen[row] = nrow; in MatSetValuesBlocked_SeqBAIJ_Inlined()
|
| /petsc/src/mat/impls/aij/mpi/ |
| H A D | mpiaij.c | 444 ailen[row] = nrow1; \ 540 PetscInt *aimax = a->imax, *ai = a->i, *ailen = a->ilen, *aj = a->j; in MatSetValues_MPIAIJ() local 562 nrow1 = ailen[row]; in MatSetValues_MPIAIJ() 650 PetscInt *ailen = a->ilen, *aj = a->j; in MatSetValues_MPIAIJ_CopyFromCSRFormat_Symbolic() local 671 ailen[j] = dnz; in MatSetValues_MPIAIJ_CopyFromCSRFormat_Symbolic() 693 PetscInt *ailen = a->ilen, *aj = a->j; in MatSetValues_MPIAIJ_CopyFromCSRFormat() local 719 ailen[j] = dnz_row; in MatSetValues_MPIAIJ_CopyFromCSRFormat() 8076 PetscInt *aimax = a->imax, *ai = a->i, *ailen = a->ilen, *aj = a->j; in matsetvaluesmpiaij_() local 8103 nrow1 = ailen[row]; in matsetvaluesmpiaij_()
|