Searched refs:nrcols (Results 1 – 1 of 1) 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 5464 PetscCall(PetscCalloc1(2 * plocalsize, &nrcols)); in MatCreateSeqSubMatrixWithRows_Private() 5470 nrcols[i * 2 + 0] = pd->i[i + 1] - pd->i[i]; in MatCreateSeqSubMatrixWithRows_Private() 5472 nrcols[i * 2 + 1] = po->i[i + 1] - po->i[i]; in MatCreateSeqSubMatrixWithRows_Private() 5474 roffsets[(i + 1) * 2 + 0] = roffsets[i * 2 + 0] + nrcols[i * 2 + 0]; in MatCreateSeqSubMatrixWithRows_Private() 5475 roffsets[(i + 1) * 2 + 1] = roffsets[i * 2 + 1] + nrcols[i * 2 + 1]; 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() 5486 PetscCall(PetscFree(nrcols)); in MatCreateSeqSubMatrixWithRows_Private()
|