Lines Matching refs:work_mat
5461 Mat *work_mat; in MatCreateSubMatrixUnsorted() local
5511 PetscCall(MatCreateSubMatrices(A, 1, &isrow_s, &iscol_s, MAT_INITIAL_MATRIX, &work_mat)); in MatCreateSubMatrixUnsorted()
5545 PetscCall(MatPermute(work_mat[0], is_perm_r, is_perm_c, &new_mat)); in MatCreateSubMatrixUnsorted()
5546 PetscCall(MatDestroy(&work_mat[0])); in MatCreateSubMatrixUnsorted()
5547 work_mat[0] = new_mat; in MatCreateSubMatrixUnsorted()
5552 PetscCall(PetscObjectReference((PetscObject)work_mat[0])); in MatCreateSubMatrixUnsorted()
5553 *B = work_mat[0]; in MatCreateSubMatrixUnsorted()
5554 PetscCall(MatDestroyMatrices(1, &work_mat)); in MatCreateSubMatrixUnsorted()
5688 Mat work_mat; in PCBDDCComputeLocalMatrix() local
5691 PetscCall(MatConvert(matis->A, MATSEQAIJ, MAT_INITIAL_MATRIX, &work_mat)); in PCBDDCComputeLocalMatrix()
5692 …PetscCall(MatPtAPWithPrefix_Private(work_mat, new_mat, PETSC_DEFAULT, ptapprefix, &pcbddc->local_m… in PCBDDCComputeLocalMatrix()
5693 PetscCall(MatDestroy(&work_mat)); in PCBDDCComputeLocalMatrix()
5696 PetscCall(MatConvert(lA, MATSEQAIJ, MAT_INITIAL_MATRIX, &work_mat)); in PCBDDCComputeLocalMatrix()
5697 PetscCall(MatPtAPWithPrefix_Private(work_mat, new_mat, PETSC_DEFAULT, ptapprefix, &work)); in PCBDDCComputeLocalMatrix()