Lines Matching refs:cmap
30 if (Y->assembled && Y->rmap->rstart == Y->cmap->rstart && Y->rmap->rend == Y->cmap->rend) { in MatDiagonalSet_MPISELL()
48 PetscInt n = sell->B->cmap->n, i; in MatCreateColmap_MPISELL_Private()
56 PetscCall(PetscCalloc1(mat->cmap->N + 1, &sell->colmap)); in MatCreateColmap_MPISELL_Private()
155 PetscInt cstart = mat->cmap->rstart, cend = mat->cmap->rend, row, col; in MatSetValues_MPISELL()
201 …[j] < mat->cmap->N, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Column too large: col %" PetscInt_… in MatSetValues_MPISELL()
252 PetscInt cstart = mat->cmap->rstart, cend = mat->cmap->rend, row, col; in MatGetValues_MPISELL()
262 …j] < mat->cmap->N, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Column too large: col %" PetscInt_F… in MatGetValues_MPISELL()
373 …k(nt == A->cmap->n, PETSC_COMM_SELF, PETSC_ERR_ARG_SIZ, "Incompatible partition of A (%" PetscInt_… in MatMult_MPISELL()
481 …PetscCheck(A->rmap->N == A->cmap->N, PetscObjectComm((PetscObject)A), PETSC_ERR_SUP, "Supports onl… in MatGetDiagonal_MPISELL()
482 …PetscCheck(A->rmap->rstart == A->cmap->rstart && A->rmap->rend == A->cmap->rend, PETSC_COMM_SELF, … in MatGetDiagonal_MPISELL()
502 …tate((PetscObject)mat, "Rows=%" PetscInt_FMT ", Cols=%" PetscInt_FMT, mat->rmap->N, mat->cmap->N)); in MatDestroy_MPISELL()
603 PetscInt M = mat->rmap->N, N = mat->cmap->N, *acolidx, row, col, i, j; in MatView_MPISELL_ASCIIorDraworSocket()
972 PetscCall(PetscLayoutSetUp(B->cmap)); in MatMPISELLSetPreallocation_MPISELL()
978 PetscCall(MatSetSizes(b->A, B->rmap->n, B->cmap->n, B->rmap->n, B->cmap->n)); in MatMPISELLSetPreallocation_MPISELL()
982 PetscCall(MatSetSizes(b->B, B->rmap->n, B->cmap->N, B->rmap->n, B->cmap->N)); in MatMPISELLSetPreallocation_MPISELL()
1008 PetscCall(MatSetSizes(mat, matin->rmap->n, matin->cmap->n, matin->rmap->N, matin->cmap->N)); in MatDuplicate_MPISELL()
1027 PetscCall(PetscLayoutReference(matin->cmap, &mat->cmap)); in MatDuplicate_MPISELL()
1033 PetscCall(PetscMalloc1(mat->cmap->N, &a->colmap)); in MatDuplicate_MPISELL()
1034 PetscCall(PetscArraycpy(a->colmap, oldmat->colmap, mat->cmap->N)); in MatDuplicate_MPISELL()
1039 len = oldmat->B->cmap->n; in MatDuplicate_MPISELL()
1575 PetscInt i, start, end, ncols, nzA, nzB, *cmap, imark, *idx; in MatMPISELLGetLocalMatCondensed() local
1592 start = A->cmap->rstart; in MatMPISELLGetLocalMatCondensed()
1593 cmap = a->garray; in MatMPISELLGetLocalMatCondensed()
1594 nzA = a->A->cmap->n; in MatMPISELLGetLocalMatCondensed()
1595 nzB = a->B->cmap->n; in MatMPISELLGetLocalMatCondensed()
1599 if (cmap[i] < start) idx[ncols++] = cmap[i]; in MatMPISELLGetLocalMatCondensed()
1604 for (i = imark; i < nzB; i++) idx[ncols++] = cmap[i]; in MatMPISELLGetLocalMatCondensed()
1638 PetscCall(MatSetSizes(B, A->rmap->n, A->cmap->n, A->rmap->N, A->cmap->N)); in MatConvert_MPISELL_MPIAIJ()
1639 PetscCall(MatSetBlockSizes(B, A->rmap->bs, A->cmap->bs)); in MatConvert_MPISELL_MPIAIJ()
1681 …etscInt i, d_nz = 0, o_nz = 0, m = A->rmap->N, n = A->cmap->N, lm = A->rmap->n, ln = A->cmap->n; in MatConvert_MPIAIJ_MPISELL()
1693 PetscCall(MatSetBlockSizes(B, A->rmap->bs, A->cmap->bs)); in MatConvert_MPIAIJ_MPISELL()