Lines Matching refs:addv
1532 …, const PetscInt idxm[], PetscInt n, const PetscInt idxn[], const PetscScalar v[], InsertMode addv) in MatSetValues() argument
1542 if (mat->insertmode == NOT_SET_VALUES) mat->insertmode = addv; in MatSetValues()
1543 …else PetscCheck(mat->insertmode == addv, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "Cannot mix ad… in MatSetValues()
1570 PetscUseTypeMethod(mat, setvalues, m, idxm, n, idxn, v, addv); in MatSetValues()
1620 PetscErrorCode MatSetValuesIS(Mat mat, IS ism, IS isn, const PetscScalar v[], InsertMode addv) in MatSetValuesIS() argument
1631 PetscCall(MatSetValues(mat, m, rows, n, cols, v, addv)); in MatSetValuesIS()
1788 …nst MatStencil idxm[], PetscInt n, const MatStencil idxn[], const PetscScalar v[], InsertMode addv) in MatSetValuesStencil() argument
1829 PetscCall(MatSetValuesLocal(mat, m, jdxm, n, jdxn, v, addv)); in MatSetValuesStencil()
1903 …nst MatStencil idxm[], PetscInt n, const MatStencil idxn[], const PetscScalar v[], InsertMode addv) in MatSetValuesBlockedStencil() argument
1945 PetscCall(MatSetValuesBlockedLocal(mat, m, jdxm, n, jdxn, v, addv)); in MatSetValuesBlockedStencil()
2070 …, const PetscInt idxm[], PetscInt n, const PetscInt idxn[], const PetscScalar v[], InsertMode addv) in MatSetValuesBlocked() argument
2079 if (mat->insertmode == NOT_SET_VALUES) mat->insertmode = addv; in MatSetValuesBlocked()
2080 …else PetscCheck(mat->insertmode == addv, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "Cannot mix ad… in MatSetValuesBlocked()
2099 PetscUseTypeMethod(mat, setvaluesblocked, m, idxm, n, idxn, v, addv); in MatSetValuesBlocked()
2121 PetscCall(MatSetValues(mat, m * bs, iidxm, n * cbs, iidxn, v, addv)); in MatSetValuesBlocked()
2455 …onst PetscInt irow[], PetscInt ncol, const PetscInt icol[], const PetscScalar y[], InsertMode addv) in MatSetValuesLocal() argument
2464 if (mat->insertmode == NOT_SET_VALUES) mat->insertmode = addv; in MatSetValuesLocal()
2465 …else PetscCheck(mat->insertmode == addv, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "Cannot mix ad… in MatSetValuesLocal()
2476 …mat->ops->setvalueslocal) PetscUseTypeMethod(mat, setvalueslocal, nrow, irow, ncol, icol, y, addv); in MatSetValuesLocal()
2497 PetscCall(MatSetValues(mat, nrow, irowm, ncol, icolm, y, addv)); in MatSetValuesLocal()
2544 …onst PetscInt irow[], PetscInt ncol, const PetscInt icol[], const PetscScalar y[], InsertMode addv) in MatSetValuesBlockedLocal() argument
2553 if (mat->insertmode == NOT_SET_VALUES) mat->insertmode = addv; in MatSetValuesBlockedLocal()
2554 …else PetscCheck(mat->insertmode == addv, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "Cannot mix ad… in MatSetValuesBlockedLocal()
2577 …aluesblockedlocal) PetscUseTypeMethod(mat, setvaluesblockedlocal, nrow, irow, ncol, icol, y, addv); in MatSetValuesBlockedLocal()
2598 PetscCall(MatSetValuesBlocked(mat, nrow, irowm, ncol, icolm, y, addv)); in MatSetValuesBlockedLocal()