Lines Matching refs:rstart

64     PetscInt     rstart, rend, *indices;  in DMCreateMatrix_Composite_AIJ()  local
71 PetscCall(MatGetOwnershipRange(*J, &rstart, &rend)); in DMCreateMatrix_Composite_AIJ()
75 …for (i = rstart; i < rend; i++) PetscCall(MatSetValues(*J, 1, &i, mA, indices, values, INSERT_VALU… in DMCreateMatrix_Composite_AIJ()
88 PetscInt nc, rstart, *ccols, maxnc; in DMCreateMatrix_Composite_AIJ() local
98 PetscCall(MatGetOwnershipRange(Atmp, &rstart, NULL)); in DMCreateMatrix_Composite_AIJ()
104 PetscCall(MatGetRow(Atmp, rstart + i, &nc, NULL, NULL)); in DMCreateMatrix_Composite_AIJ()
106 PetscCall(MatRestoreRow(Atmp, rstart + i, &nc, NULL, NULL)); in DMCreateMatrix_Composite_AIJ()
110 PetscCall(MatGetRow(Atmp, rstart + i, &nc, &cols, NULL)); in DMCreateMatrix_Composite_AIJ()
117 PetscCall(MatPreallocateSet(com->rstart + next->rstart + i, nc, ccols, dnz, onz)); in DMCreateMatrix_Composite_AIJ()
118 PetscCall(MatRestoreRow(Atmp, rstart + i, &nc, &cols, NULL)); in DMCreateMatrix_Composite_AIJ()
135 PetscInt nc, rstart, row, maxnc, *ccols; in DMCreateMatrix_Composite_AIJ() local
146 PetscCall(MatGetOwnershipRange(Atmp, &rstart, NULL)); in DMCreateMatrix_Composite_AIJ()
151 PetscCall(MatGetRow(Atmp, rstart + i, &nc, NULL, NULL)); in DMCreateMatrix_Composite_AIJ()
153 PetscCall(MatRestoreRow(Atmp, rstart + i, &nc, NULL, NULL)); in DMCreateMatrix_Composite_AIJ()
157 PetscCall(MatGetRow(Atmp, rstart + i, &nc, &cols, &values)); in DMCreateMatrix_Composite_AIJ()
163 row = com->rstart + next->rstart + i; in DMCreateMatrix_Composite_AIJ()
165 PetscCall(MatRestoreRow(Atmp, rstart + i, &nc, &cols, &values)); in DMCreateMatrix_Composite_AIJ()