Lines Matching refs:cmat
1723 PetscCall(MatDestroy(&l->cmat)); in MatDestroy_SeqDense()
1816 PetscCall(MatDestroy(&mat->cmat)); in MatTranspose_SeqDense()
3510 …if (a->cmat && (cend - cbegin != a->cmat->cmap->N || rend - rbegin != a->cmat->rmap->N)) PetscCall… in MatDenseGetSubMatrix_SeqDense()
3511 if (!a->cmat) { in MatDenseGetSubMatrix_SeqDense()
3512 …gin, cend - cbegin, PetscSafePointerPlusOffset(a->v, rbegin + (size_t)cbegin * a->lda), &a->cmat)); in MatDenseGetSubMatrix_SeqDense()
3514 …PetscCall(MatDensePlaceArray(a->cmat, PetscSafePointerPlusOffset(a->v, rbegin + (size_t)cbegin * a… in MatDenseGetSubMatrix_SeqDense()
3516 PetscCall(MatDenseSetLDA(a->cmat, a->lda)); in MatDenseGetSubMatrix_SeqDense()
3518 *v = a->cmat; in MatDenseGetSubMatrix_SeqDense()
3531 PetscCheck(a->cmat, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Missing internal column matrix"); in MatDenseRestoreSubMatrix_SeqDense()
3532 …PetscCheck(*v == a->cmat, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Not the matrix obtained from MatD… in MatDenseRestoreSubMatrix_SeqDense()
3534 PetscCall(MatDenseResetArray(a->cmat)); in MatDenseRestoreSubMatrix_SeqDense()