Searched refs:roffsets (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/mat/impls/aij/mpi/ |
| H A D | mpiaij.c | 5429 PetscInt pcstart, *roffsets, *loffsets, *pnnz, j; in MatCreateSeqSubMatrixWithRows_Private() local 5463 PetscCall(PetscCalloc1(2 * (plocalsize + 1), &roffsets)); in MatCreateSeqSubMatrixWithRows_Private() 5466 roffsets[0] = 0; in MatCreateSeqSubMatrixWithRows_Private() 5467 roffsets[1] = 0; 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() 5481 PetscCall(PetscSFBcastBegin(sf, MPIU_2INT, roffsets, loffsets, MPI_REPLACE)); in MatCreateSeqSubMatrixWithRows_Private() 5483 PetscCall(PetscSFBcastEnd(sf, MPIU_2INT, roffsets, loffsets, MPI_REPLACE)); in MatCreateSeqSubMatrixWithRows_Private() 5485 PetscCall(PetscFree(roffsets)); in MatCreateSeqSubMatrixWithRows_Private()
|