Searched refs:Bbaij (Results 1 – 2 of 2) sorted by relevance
132 Mat_SeqBAIJ *Bbaij; in MatDisAssemble_MPIBAIJ() local153 Bbaij = (Mat_SeqBAIJ *)B->data; in MatDisAssemble_MPIBAIJ()154 mbs = Bbaij->mbs; in MatDisAssemble_MPIBAIJ()155 a = Bbaij->a; in MatDisAssemble_MPIBAIJ()159 for (i = 0; i < mbs; i++) nz[i] = Bbaij->i[i + 1] - Bbaij->i[i]; in MatDisAssemble_MPIBAIJ()169 if (Bbaij->nonew >= 0) { /* Inherit insertion error options (if positive). */ in MatDisAssemble_MPIBAIJ()170 ((Mat_SeqBAIJ *)Bnew->data)->nonew = Bbaij->nonew; in MatDisAssemble_MPIBAIJ()175 for (j = Bbaij->i[i]; j < Bbaij->i[i + 1]; j++) { in MatDisAssemble_MPIBAIJ()176 col = garray[Bbaij->j[j]]; in MatDisAssemble_MPIBAIJ()181 PetscCall(MatSetOption(Bnew, MAT_ROW_ORIENTED, Bbaij->roworiented)); in MatDisAssemble_MPIBAIJ()
185 Mat_SeqBAIJ *Bbaij = (Mat_SeqBAIJ *)B->data; in MatDisAssemble_MPISBAIJ() local186 PetscInt i, j, mbs = Bbaij->mbs, n = A->cmap->N, col, *garray = baij->garray; in MatDisAssemble_MPISBAIJ()188 MatScalar *a = Bbaij->a; in MatDisAssemble_MPISBAIJ()222 for (i = 0; i < mbs; i++) nz[i] = Bbaij->i[i + 1] - Bbaij->i[i]; in MatDisAssemble_MPISBAIJ()229 if (Bbaij->nonew >= 0) { /* Inherit insertion error options (if positive). */ in MatDisAssemble_MPISBAIJ()230 ((Mat_SeqSBAIJ *)Bnew->data)->nonew = Bbaij->nonew; in MatDisAssemble_MPISBAIJ()242 for (j = Bbaij->i[i]; j < Bbaij->i[i + 1]; j++) { in MatDisAssemble_MPISBAIJ()243 col = garray[Bbaij->j[j]] * bs; in MatDisAssemble_MPISBAIJ()