Lines Matching refs:im

284 static PetscErrorCode MatSetValues_MPISBAIJ(Mat mat, PetscInt m, const PetscInt im[], PetscInt n, c…  in MatSetValues_MPISBAIJ()  argument
328 if (im[i] < 0) continue; in MatSetValues_MPISBAIJ()
329 …PetscCheck(im[i] < mat->rmap->N, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Row too large: row %"… in MatSetValues_MPISBAIJ()
330 if (im[i] >= rstart_orig && im[i] < rend_orig) { /* this processor entry */ in MatSetValues_MPISBAIJ()
331 row = im[i] - rstart_orig; /* local row index */ in MatSetValues_MPISBAIJ()
333 if (im[i] / bs > in[j] / bs) { in MatSetValues_MPISBAIJ()
344 MatSetValues_SeqSBAIJ_A_Private(row, col, value, addv, im[i], in[j]); in MatSetValues_MPISBAIJ()
374 MatSetValues_SeqSBAIJ_B_Private(row, col, value, addv, im[i], in[j]); in MatSetValues_MPISBAIJ()
379 …w %" PetscInt_FMT " even though MatSetOption(,MAT_NO_OFF_PROC_ENTRIES,PETSC_TRUE) was set", im[i]); in MatSetValues_MPISBAIJ()
384 if (im[i] / bs > in[j] / bs) continue; /* ignore lower triangular blocks */ in MatSetValues_MPISBAIJ()
393 PetscCall(MatStashValuesRow_Private(&mat->stash, im[i], n_loc, in_loc, v_loc, PETSC_FALSE)); in MatSetValues_MPISBAIJ()
564 static PetscErrorCode MatSetValuesBlocked_MPISBAIJ(Mat mat, PetscInt m, const PetscInt im[], PetscI… in MatSetValuesBlocked_MPISBAIJ() argument
586 if (im[i] < 0) continue; in MatSetValuesBlocked_MPISBAIJ()
587 …etscCheck(im[i] < baij->Mbs, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Block indexed row too lar… in MatSetValuesBlocked_MPISBAIJ()
588 if (im[i] >= rstart && im[i] < rend) { in MatSetValuesBlocked_MPISBAIJ()
589 row = im[i] - rstart; in MatSetValuesBlocked_MPISBAIJ()
591 if (im[i] > in[j]) { in MatSetValuesBlocked_MPISBAIJ()
614 … PetscCall(MatSetValuesBlocked_SeqSBAIJ_Inlined(baij->A, row, col, barray, addv, im[i], in[j])); in MatSetValuesBlocked_MPISBAIJ()
633 … PetscCall(MatSetValuesBlocked_SeqBAIJ_Inlined(baij->B, row, col, barray, addv, im[i], in[j])); in MatSetValuesBlocked_MPISBAIJ()
637 …w %" PetscInt_FMT " even though MatSetOption(,MAT_NO_OFF_PROC_ENTRIES,PETSC_TRUE) was set", im[i]); in MatSetValuesBlocked_MPISBAIJ()
640 PetscCall(MatStashValuesRowBlocked_Private(&mat->bstash, im[i], n, in, v, m, n, i)); in MatSetValuesBlocked_MPISBAIJ()
642 PetscCall(MatStashValuesColBlocked_Private(&mat->bstash, im[i], n, in, v, m, n, i)); in MatSetValuesBlocked_MPISBAIJ()