Lines Matching refs:indexm

1209 static PetscErrorCode MatSetValues_SeqDense(Mat A, PetscInt m, const PetscInt indexm[], PetscInt n,…  in MatSetValues_SeqDense()  argument
1229 if (indexm[i] < 0) { in MatSetValues_SeqDense()
1233 …etscCheck(indexm[i] < A->rmap->n, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Row too large: row %… in MatSetValues_SeqDense()
1234 av[indexn[j] * mat->lda + indexm[i]] = v ? v[idx++] : (idx++, 0.0); in MatSetValues_SeqDense()
1245 if (indexm[i] < 0) { in MatSetValues_SeqDense()
1249 …etscCheck(indexm[i] < A->rmap->n, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Row too large: row %… in MatSetValues_SeqDense()
1250 av[indexn[j] * mat->lda + indexm[i]] += v ? v[idx++] : (idx++, 0.0); in MatSetValues_SeqDense()
1257 if (indexm[i] < 0) { in MatSetValues_SeqDense()
1261 …etscCheck(indexm[i] < A->rmap->n, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Row too large: row %… in MatSetValues_SeqDense()
1268 av[indexn[j] * mat->lda + indexm[i]] = v ? v[idx++] : (idx++, 0.0); in MatSetValues_SeqDense()
1273 if (indexm[i] < 0) { in MatSetValues_SeqDense()
1277 …etscCheck(indexm[i] < A->rmap->n, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Row too large: row %… in MatSetValues_SeqDense()
1284 av[indexn[j] * mat->lda + indexm[i]] += v ? v[idx++] : (idx++, 0.0); in MatSetValues_SeqDense()
1301 static PetscErrorCode MatGetValues_SeqDense(Mat A, PetscInt m, const PetscInt indexm[], PetscInt n,… in MatGetValues_SeqDense() argument
1311 if (indexm[i] < 0) { in MatGetValues_SeqDense()
1315 …ck(indexm[i] < A->rmap->n, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Row %" PetscInt_FMT " reque… in MatGetValues_SeqDense()
1322 *v++ = vv[indexn[j] * mat->lda + indexm[i]]; in MatGetValues_SeqDense()