Lines Matching refs:Bnew
131 Mat B = baij->B, Bnew; in MatDisAssemble_MPIBAIJ() local
160 PetscCall(MatCreate(PetscObjectComm((PetscObject)B), &Bnew)); in MatDisAssemble_MPIBAIJ()
161 PetscCall(MatSetSizes(Bnew, m, n, m, n)); in MatDisAssemble_MPIBAIJ()
162 PetscCall(MatSetType(Bnew, ((PetscObject)B)->type_name)); in MatDisAssemble_MPIBAIJ()
163 PetscCall(MatSeqBAIJSetPreallocation(Bnew, B->rmap->bs, 0, nz)); in MatDisAssemble_MPIBAIJ()
168 Bnew->nonzerostate = B->nonzerostate; in MatDisAssemble_MPIBAIJ()
170 ((Mat_SeqBAIJ *)Bnew->data)->nonew = Bbaij->nonew; in MatDisAssemble_MPIBAIJ()
173 PetscCall(MatSetOption(Bnew, MAT_ROW_ORIENTED, PETSC_FALSE)); in MatDisAssemble_MPIBAIJ()
178 PetscCall(MatSetValuesBlocked_SeqBAIJ(Bnew, 1, &i, 1, &col, atmp, B->insertmode)); in MatDisAssemble_MPIBAIJ()
181 PetscCall(MatSetOption(Bnew, MAT_ROW_ORIENTED, Bbaij->roworiented)); in MatDisAssemble_MPIBAIJ()
186 baij->B = Bnew; in MatDisAssemble_MPIBAIJ()