Searched refs:nlcols (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/mat/impls/aij/mpi/ |
| H A D | mpiaij.c | 5424 PetscInt plocalsize, nrows, *ilocal, *oilocal, i, lidx, *nrcols, *nlcols, ncol; in MatCreateSeqSubMatrixWithRows_Private() local 5477 PetscCall(PetscCalloc1(2 * nrows, &nlcols)); in MatCreateSeqSubMatrixWithRows_Private() 5480 PetscCall(PetscSFBcastBegin(sf, MPIU_2INT, nrcols, nlcols, MPI_REPLACE)); in MatCreateSeqSubMatrixWithRows_Private() 5482 PetscCall(PetscSFBcastEnd(sf, MPIU_2INT, nrcols, nlcols, MPI_REPLACE)); in MatCreateSeqSubMatrixWithRows_Private() 5491 pnnz[i] = nlcols[i * 2 + 0] + nlcols[i * 2 + 1]; in MatCreateSeqSubMatrixWithRows_Private() 5494 dntotalcols += nlcols[i * 2 + 0]; in MatCreateSeqSubMatrixWithRows_Private() 5496 ontotalcols += nlcols[i * 2 + 1]; in MatCreateSeqSubMatrixWithRows_Private() 5520 for (j = 0; j < nlcols[i * 2 + 0]; j++) { in MatCreateSeqSubMatrixWithRows_Private() 5527 for (j = 0; j < nlcols[i * 2 + 1]; j++) { in MatCreateSeqSubMatrixWithRows_Private() 5535 PetscCall(PetscFree(nlcols)); in MatCreateSeqSubMatrixWithRows_Private()
|
| /petsc/src/mat/impls/dense/mpi/ |
| H A D | mpidense.c | 288 PetscInt lda, i, j, rstart, rend, nrows, ncols, Ncols, nlrows, nlcols; in MatCreateSubMatrix_MPIDense() local 312 PetscCall(MatGetLocalSize(A, &nlrows, &nlcols)); in MatCreateSubMatrix_MPIDense()
|